summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pages.yml
diff options
context:
space:
mode:
authordsrkafuu2022-02-25 00:39:14 +0800
committerdsrkafuu2022-02-25 00:39:14 +0800
commitd2d572cdae9281d4d489bc74101450fde0ea8059 (patch)
tree01b2252a31db7bd34760cf64e87ad99c01973467 /.github/workflows/pages.yml
parent94713fb248762941d8603bfae7764cd71a4e3f56 (diff)
downloadhugo-theme-fuji-d2d572cdae9281d4d489bc74101450fde0ea8059.tar.gz
hugo-theme-fuji-d2d572cdae9281d4d489bc74101450fde0ea8059.tar.bz2
hugo-theme-fuji-d2d572cdae9281d4d489bc74101450fde0ea8059.zip
fix: pages action syntax
Diffstat (limited to '.github/workflows/pages.yml')
-rw-r--r--.github/workflows/pages.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index fa8ab50..2553c84 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -3,7 +3,7 @@ name: pages
on:
push:
branches:
- - main
+ - master
pull_request:
jobs:
@@ -24,13 +24,10 @@ jobs:
mkdir themes
ln -s ../.. themes/fuji
hugo
- cd ..
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
- run: |
- cd exampleSite
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public