Skip to content

Update server-deploy.yml #6

Update server-deploy.yml

Update server-deploy.yml #6

Workflow file for this run

on:
push:
branches: [ main ]
jobs:
build:
name: deploy to prod
runs-on: cc-game01
steps:
- uses: actions/checkout@v2
- name: Stop Server
run: |

Check failure on line 13 in .github/workflows/server-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/server-deploy.yml

Invalid workflow file

The workflow is not valid. .github/workflows/server-deploy.yml (Line: 13, Col: 12): Unrecognized named-value: 'sercerts'. Located at position 1 within expression: sercerts.KSCLOUD_API
curl "https://pterodactyl.file.properties/api/client/servers/1a7ce997/power" \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer ${{ sercerts.KSCLOUD_API }}' \
-X POST \
-d '{
"signal": "start"
}'
# - name: clean prod files
# run: rm -rf /var/www/cc-staffland/public_html/*
# - name: copy files to prod folder
# run: cp -R * /var/www/cc-staffland/public_html/