aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a436587..70e198e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,14 +1,14 @@
on: push
-name: Build and deploy GitHub Pages
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- - name: checkout
+ - name: 'checkout'
uses: actions/checkout@v3.0.0
- - name: build_and_deploy
+ - name: 'build_and_deploy'
uses: shalzz/zola-deploy-action@v0.17.2
env:
+ BUILD_FLAGS: --base-url ${{ GITHUB_HOSTNAME }}
PAGES_BRANCH: gh-pages
TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file