Skip to content

ci(github): use gitploy-action in build.yml #4

ci(github): use gitploy-action in build.yml

ci(github): use gitploy-action in build.yml #4

Workflow file for this run

name: build
on: [push, pull_request]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Build game
run: npm run build
- name: Deploy
if: github.ref_name == 'master'
uses: remarkablemark/gitploy-action@v1
with:
directory: dist