Add APIs & Libraries section to LC #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
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 deploy" | |
env: | |
DEPLOY_API_URL: ${{ vars.DEPLOY_API_URL }} | |
DEPLOY_API_KEY: ${{ secrets.DEPLOY_API_KEY }} |