Skip to content

Feat/stdlib diff

Feat/stdlib diff #1051

Workflow file for this run

# generate docs and publish on gh-pages branch
name: gh-pages
on:
pull_request:
branches: [ "master" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
if: ${{ github.repository == 'gnolang/gno' }} # Alternatively, validate based on provided tokens and permissions.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: "cd misc/gendocs && make install gen"
- run: "cd misc/stdlib_diff && make install gen"
-run | # Combine files into a single directory for deployment

Check failure on line 29 in .github/workflows/gh-pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gh-pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
mkdir -p output/combined
cp -r ./misc/gendocs/godoc/* output/combined/
cp -r ./misc/stdlib_diff/gnoreport/* output/combined/gnoreport
- uses: actions/configure-pages@v5
id: pages
- uses: actions/upload-pages-artifact@v3
with:
path: ./output/combined
deploy:
if: ${{ github.repository == 'gnolang/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@v4
id: deployment