aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Raasch <425211+janraasch@users.noreply.github.com>2023-03-08 18:44:15 +0100
committerJan Raasch <425211+janraasch@users.noreply.github.com>2023-03-08 18:44:15 +0100
commitbbb374cb157b062ac43c2591095135bc47e7d5f2 (patch)
tree4bb0524fd38162de5bf35a269e6f117124611f20
parentf2cc09bbdd0b46b40047eeeb19b7a223882e0dde (diff)
downloadhugo-bearcub-bbb374cb157b062ac43c2591095135bc47e7d5f2.tar.gz
hugo-bearcub-bbb374cb157b062ac43c2591095135bc47e7d5f2.tar.bz2
chore(ci): fix deploy condition - hopefully
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b3baa9c..b441fd9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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