We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3845c55 commit f8695a1Copy full SHA for f8695a1
.github/workflows/main.yml
@@ -18,10 +18,8 @@ jobs:
18
repo: zola
19
token: "${{ secrets.GITHUB_TOKEN }}"
20
- run: /tmp/zola build
21
- - name: Deploy to GitHub Pages
22
- run: |
23
- curl -LsSf https://raw.githubusercontent.com/rust-lang/simpleinfra/master/setup-deploy-keys/src/deploy.rs | rustc - -o /tmp/deploy
24
- (cd public/ && /tmp/deploy)
25
- env:
26
- GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
27
- if: github.ref == 'refs/heads/master'
+ - uses: JamesIves/github-pages-deploy-action@releases/v3
+ with:
+ ACCESS_TOKEN: ${{ github.SECRET_TOKEN }}
+ BRANCH: gh-pages
+ FOLDER: public
0 commit comments