Skip to content

Commit

Permalink
github pages action
Browse files Browse the repository at this point in the history
  • Loading branch information
Villaquiranm committed Dec 14, 2024
1 parent 14ed42a commit 2e2b2c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ jobs:
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
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: ./misc/gendocs/godoc
path: ./output/combined

deploy:
if: ${{ github.repository == 'gnolang/gno' }} # Alternatively, validate based on provided tokens and permissions.
Expand Down

0 comments on commit 2e2b2c2

Please sign in to comment.