From f03ea9dba007a26cc9a092567eb70da91844f40c Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 2 Oct 2025 08:53:01 +0700 Subject: [PATCH] Comment out GitHub Pages deployment steps in workflow Replaced Jinja-style comments with YAML comments for GitHub Pages deployment-related permissions and steps in the hugo.yml workflow. This clarifies that these steps are currently disabled and improves readability. --- .github/workflows/hugo.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 34a6358..d2a1c6c 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: permissions: contents: read - {# pages: write #} + # pages: write id-token: write deployments: write concurrency: @@ -41,9 +41,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - {# - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 #} + # - name: Setup Pages + # id: pages + # uses: actions/configure-pages@v5 - name: Create directory for user-specific executable files run: | mkdir -p "${HOME}/.local" @@ -97,16 +97,16 @@ jobs: 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 deploy-cloudflare: runs-on: ubuntu-latest name: Deploy to CloudFlare Pages