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
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/source' }}
if: github.ref == 'refs/heads/source'
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: build
path: ./public
- uses: peaceiris/actions-gh-pages@v3.9.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public