Skip to content

Commit

Permalink
trigger @colyseus/cloud deployment on push (requires '.colyseus-cloud…
Browse files Browse the repository at this point in the history
….json') file on git
  • Loading branch information
endel committed Apr 30, 2024
1 parent 999465a commit ab4e295
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/colyseus-cloud-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
env:
applicationId: ${{ vars.APPLICATION_ID }}
token: ${{ vars.TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js
Expand All @@ -18,4 +21,4 @@ jobs:
- name: Trigger deployment
run: |
npm install -g @colyseus/cloud
npx @colyseus/cloud deploy
npx @colyseus/cloud deploy --applicationId $applicationId --token $token

0 comments on commit ab4e295

Please sign in to comment.