From 060f5f9c5feb8bb6f4cde78ca698f2bf755f646e Mon Sep 17 00:00:00 2001 From: Endel Dreyer Date: Tue, 30 Apr 2024 16:00:02 -0300 Subject: [PATCH] trigger @colyseus/cloud deployment on push (requires '.colyseus-cloud.json') file on git --- .github/workflows/colyseus-cloud-deploy.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/colyseus-cloud-deploy.yml diff --git a/.github/workflows/colyseus-cloud-deploy.yml b/.github/workflows/colyseus-cloud-deploy.yml new file mode 100644 index 0000000..d909922 --- /dev/null +++ b/.github/workflows/colyseus-cloud-deploy.yml @@ -0,0 +1,13 @@ +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