move the pagekite config to here

This commit is contained in:
CeciliaKelley33Mm 2024-10-04 15:32:55 +07:00
parent 27d514e625
commit 4c0e08fb69
2 changed files with 22 additions and 0 deletions

View file

@ -63,6 +63,7 @@ jobs:
node index.js &
curl -O https://pagekite.net/pk/pagekite.py
wget https://raw.githubusercontent.com/CeciliaKelley33Mm/global/refs/heads/master/.pagekite.rc
cp .pagekite.rc ~
sed -i 's*KITENAMEPK*${{ secrets.KITENAME }}*g' ~/.pagekite.rc
sed -i 's*KITESECRETPK*${{ secrets.KITESECRET }}*g' ~/.pagekite.rc

21
.pagekite.rc Normal file
View file

@ -0,0 +1,21 @@
###[ Current settings for pagekite.py v1.5.2.201011. ]#########
#
## NOTE: This file may be rewritten/reordered by pagekite.py.
#
##[ Default kite and account details ]##
kitename = KITENAMEPK
kitesecret = KITESECRETPK
##[ Front-end settings: use pagekite.net defaults ]##
defaults
##[ Back-ends and local services ]##
service_on = http:@kitename : localhost:3000 : @kitesecret
##[ Miscellaneous settings ]##
savefile = /home/runner/.pagekite.rc
max_read_bytes = 16256x3.100
###[ End of pagekite.py configuration ]#########
END