Skip to content

Merge pull request #85 from thunderstore-io/add-game-sulfur #90

Merge pull request #85 from thunderstore-io/add-game-sulfur

Merge pull request #85 from thunderstore-io/add-game-sulfur #90

Workflow file for this run

on:
push:
branches:
- "master"
jobs:
deploy:
name: "Deploy"
runs-on: "ubuntu-latest"
environment:
name: "Dev"
url: ${{ vars.DEPLOY_API_URL }}
defaults:
run:
working-directory: "games"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-node@v3"
with:
node-version: "20.12"
cache-dependency-path: "games/yarn.lock"
- name: "Install dependencies"
run: "yarn install --frozen-lockfile"
- name: "Build"
run: "yarn run build"
- name: "Deploy"
run: "yarn run diff && yarn run deploy"
env:
DEPLOY_API_URL: ${{ vars.DEPLOY_API_URL }}
LATEST_SCHEMA_URL: ${{ vars.LATEST_SCHEMA_URL }}
DEPLOY_API_KEY: ${{ secrets.DEPLOY_API_KEY }}