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