Skip to content

Workflow file for this run

# generate docs and publish on gh-pages branch xx
name: gh-pages
on:
push:
branches: [ "dev/morgan/godoc-gh-pages-test" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
if: ${{ github.repository == 'thehowl/gno' }} # Alternatively, validate based on provided tokens and permissions.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: "cd misc/gendocs && make install gen"
- uses: actions/configure-pages@v3
id: pages
- uses: actions/upload-pages-artifact@v2
with:
path: ./misc/gendocs/godoc
deploy:
if: ${{ github.repository == 'thehowl/gno' }} # Alternatively, validate based on provided tokens and permissions.
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
steps:
- uses: actions/deploy-pages@v2
id: deployment