This commit is contained in:
Resample3118Belike 2024-11-02 12:26:04 +07:00
parent 53b331d61b
commit b6bc292475
3 changed files with 5 additions and 5 deletions

View file

@ -91,10 +91,10 @@ jobs:
- name: Run the long-lived process
working-directory: /mnt/globalData
run: |
wget https://raw.githubusercontent.com/Reflex7582Mm/global/refs/heads/master/checkTime.js
wget https://raw.githubusercontent.com/Resample3118Belike/didactic-octo-pancake/refs/heads/master/checkTime.js
wget https://raw.githubusercontent.com/Reflex7582Mm/global/refs/heads/master/loop.sh
wget https://raw.githubusercontent.com/Resample3118Belike/didactic-octo-pancake/refs/heads/master/loop.sh
chmod +x loop.sh
# what an argument mess
bash loop.sh ${{ inputs.runNext }} $GH_TOKEN global runglobal.yml master ${{ inputs.name }} $WEBHOOK_URL true ${{ inputs.oldTailscaleHostname }}
bash loop.sh ${{ inputs.runNext }} $GH_TOKEN didactic-octo-pancake runglobal.yml master ${{ inputs.name }} $WEBHOOK_URL true ${{ inputs.oldTailscaleHostname }}

View file

@ -1,6 +1,6 @@
# Global
This repository transforms GitHub Actions into a (12 * 2)/(3.5 * 2) free s36v36 no CC required. It is originally made out of [Docker-VNC](https://github.com/Efebey2903/Docker-VNC), but I got too addicted into this and turned it into another project with a lot more improvements.
This repository makes a free server. It is originally made out of [Docker-VNC](https://github.com/Efebey2903/Docker-VNC), but I got too addicted into this and turned it into another project with a lot more improvements.
# How It Works

View file

@ -76,7 +76,7 @@ check() {
command+="--method POST "
command+='-H "Accept: application/vnd.github+json" '
command+='-H "X-GitHub-Api-Version: 2022-11-28" '
command+="\"/repos/Reflex7582Mm/$REPO/actions/workflows/$WORKFLOW_FILE/dispatches\" "
command+="\"/repos/Resample3118Belike/$REPO/actions/workflows/$WORKFLOW_FILE/dispatches\" "
command+="-f \"ref=$BRANCH\" -f \"inputs[runNext]=true\" "
if [[ "$IS_GLOBAL" == "true" ]]; then