chore(ci): fix deploy condition - hopefully

This commit is contained in:
Jan Raasch 2023-03-08 18:44:15 +01:00
parent f2cc09bbdd
commit bbb374cb15

View File

@ -35,14 +35,10 @@ jobs:
needs: build needs: build
name: Deploy to GitHub Pages name: Deploy to GitHub Pages
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/source' }} if: github.ref == 'refs/heads/source'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: build name: build
path: ./public path: ./public
- uses: peaceiris/actions-gh-pages@v3.9.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public