Skip to content

update @colyseus/cloud pkg #8

update @colyseus/cloud pkg

update @colyseus/cloud pkg #8

name: Deploy to Colyseus Cloud
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
env:
applicationId: ${{ secrets.APPLICATION_ID }}
token: ${{ secrets.TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Trigger deployment
run: |
npm install -g @colyseus/cloud
npx @colyseus/cloud deploy --applicationId $applicationId --token $token