Update github actions to work with the 'main' branch
This commit is contained in:
@@ -2,7 +2,7 @@ name: Deploy to Github Pages
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["master"]
|
branches: ["main"]
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|||||||
@@ -25,10 +25,3 @@ jobs:
|
|||||||
- name: Run Hugo
|
- name: Run Hugo
|
||||||
working-directory: exampleSite
|
working-directory: exampleSite
|
||||||
run: hugo --themesDir ../..
|
run: hugo --themesDir ../..
|
||||||
|
|
||||||
# - name: Deploy
|
|
||||||
# uses: peaceiris/actions-gh-pages@v3
|
|
||||||
# with:
|
|
||||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# publish_dir: ./public
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user