Skip to content

Deploy

Deploy #30

Workflow file for this run

name: Deploy
on: workflow_dispatch
concurrency:
group: pages
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-go@v3
with:
go-version: 1.19
- run: make build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: ./dist
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v1