chore(ci): fix deploy condition - hopefully
This commit is contained in:
parent
f2cc09bbdd
commit
bbb374cb15
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user