summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pages.yml
diff options
context:
space:
mode:
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