Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: GitHub pages
on: # Run when...
push: # ... we see a `git push` to one of these branches.
branches:
- main
workflow_dispatch: # ... we trigger the workflow via "Actions".
permissions: # Set the needed permissions on the GITHUB_TOKEN.
contents: read
pages: write
id-token: write
concurrency: # Only allow one instance at a time (killing any previously-running instance if necessary).
group: pages
cancel-in-progress: true
jobs: # Named steps.
deploy: # Build + post the assets.
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Node: Install"
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: npm
- name: Static Build
run: make build
- name: Set Up Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1