Skip to content

Commit

Permalink
Add build pdf to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCaso committed Jul 31, 2023
1 parent c4a8f01 commit 98ae9a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: browser-actions/setup-chrome@v1
- uses: actions/setup-node@v2
with:
node-version: "18.x"
- name: Initialize submodules
run: |
git submodule update --init --recursive
git submodule update --remote
- name: Build PDF
run: |
cd website && npm i && npm run build_pdf
- name: Publish
run: |
git config --global user.email "[email protected]"
git config --global user.name "grants-deployer"
echo "machine github.com login grants-deployer password ${{ secrets.ACCESS_KEY }}" > ~/.netrc
cd website && npm i && npm run build && GIT_USER=grants-deployer PUBLISHING=true npm run deploy
npm run build && GIT_USER=grants-deployer PUBLISHING=true npm run deploy

0 comments on commit 98ae9a2

Please sign in to comment.