From f0e5df4b6e793a6447ef630d46c28eb8865af50f Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 2 Oct 2025 08:50:47 +0700 Subject: [PATCH] Comment out GitHub Pages deployment steps in workflow The GitHub Pages deployment steps and related permissions in the hugo.yml workflow have been commented out, likely to disable deployment to GitHub Pages while retaining the configuration for future use. Deployment to CloudFlare Pages remains active. --- .github/workflows/hugo.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 20cead0..34a6358 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 + {# - name: Setup Pages id: pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v5 #} - name: Create directory for user-specific executable files run: | mkdir -p "${HOME}/.local" @@ -97,7 +97,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: path: ./public - deploy: + {# deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -106,7 +106,7 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4 #} deploy-cloudflare: runs-on: ubuntu-latest name: Deploy to CloudFlare Pages