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 cd3709d commit 80b5b2d
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/colyseus-cloud-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: Deploy to Colyseus Cloud

on:
push:
branches:
- main

name: Deploy to Colyseus Cloud

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
@colyseus/cloud deploy
jobs:
deploy:
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
@colyseus/cloud deploy

0 comments on commit 80b5b2d

Please sign in to comment.