Skip to content

Test Page

Test Page #3

Workflow file for this run

name: Documentation
on:
push:
branches: ["staging"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
name: Publish to GitHub Pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
env:
TMPDIR: /tmp
GAME_ASSETS_SSH: ${{ secrets.GAME_ASSETS_SSH }}
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
cache: "yarn"
- name: Install dependencies
run: yarn --prefer-offline --frozen-lockfile --non-interactive --ignore-scripts --silent
working-directory: .
- name: Build website
run: |
yarn build
./scripts/build-example.sh
working-directory: .
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1