From 156e4c7d4d418bd734a77d337a1eda3084000265 Mon Sep 17 00:00:00 2001 From: Bill Stumbo Date: Tue, 10 Sep 2024 07:36:16 -0400 Subject: [PATCH] another try --- .github/workflows/gh-pages.yml | 42 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0248ebf1b..b96e66066 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -154,27 +154,27 @@ jobs: TZ: America/New York run: hugo --gc -e staging - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./public - +# - name: Upload artifact +# uses: actions/upload-pages-artifact@v3 +# with: +# path: ./public - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 +# deploy: +# environment: +# name: github-pages +# url: ${{ steps.deployment.outputs.page_url }} +# runs-on: ubuntu-latest +# needs: build +# +# steps: +# - name: Deploy to GitHub Pages +# id: deployment +# uses: actions/deploy-pages@v4 -# - name: Deploy -# uses: peaceiris/actions-gh-pages@v4 -# if: github.ref == 'refs/heads/main' -# with: -# github_token: ${{ secrets.GITHUB_TOKEN }} -# publish_dir: ./public + - name: Deploy + uses: peaceiris/actions-gh-pages@v4 + if: github.ref == 'refs/heads/main' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public