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
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user