diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index c483de3..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Zola on GitHub Pages - -on: - push: - branches: - - main - -jobs: - build: - name: Publish site - runs-on: ubuntu-latest - steps: - - name: Checkout main - uses: actions/checkout@v3.0.0 - - name: Build and deploy - uses: shalzz/zola-deploy-action@v0.17.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/zolatogithubpages.yml b/.github/workflows/zolatogithubpages.yml index 6ef6b12..bc19da9 100644 --- a/.github/workflows/zolatogithubpages.yml +++ b/.github/workflows/zolatogithubpages.yml @@ -9,11 +9,10 @@ jobs: - name: checkout uses: actions/checkout@v3.0.0 - name: build_and_deploy - uses: shalzz/zola-deploy-action@v0.17.2 + uses: shalzz/zola-deploy-action@master env: # Target branch PAGES_BRANCH: gh-pages # Provide personal access token - TOKEN: ${{ secrets.TOKEN }} - # Or if publishing to the same repo, use the automatic token - #TOKEN: ${{ secrets.GITHUB_TOKEN }} + TOKEN: ${{ secrets.GITHUB_TOKEN }} + BUILD_THEMES: false