From 19bd85f8db1bb5709c85907e86f47fca8402a5f6 Mon Sep 17 00:00:00 2001 From: welpo Date: Fri, 14 Apr 2023 16:29:24 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20fix:=20use=20latest=20zola?= =?UTF-8?q?-deploy-action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 18 ------------------ .github/workflows/zolatogithubpages.yml | 7 +++---- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/main.yml 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