From 043ed0feed63dc6fc3d26f16e65745036e6be68c Mon Sep 17 00:00:00 2001 From: Coder-soft Date: Sat, 6 Dec 2025 16:33:05 +0500 Subject: [PATCH 1/3] Change default branch for workflow from 'master' to 'Testingbranch' --- .github/workflows/static.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..dfc38ef --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["Testingbranch"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From 3f3d7ce545d1ebfb568cc6b3173b8ab2fb829146 Mon Sep 17 00:00:00 2001 From: Coder-soft Date: Sat, 6 Dec 2025 16:33:42 +0500 Subject: [PATCH 2/3] Change target branch from 'Testingbranch' to 'master' --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index dfc38ef..0ba8230 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ["Testingbranch"] + branches: ["master"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 3c7512cf8e415b292de500351cfd07b7f11567c1 Mon Sep 17 00:00:00 2001 From: Coder-soft Date: Mon, 8 Dec 2025 15:29:58 +0500 Subject: [PATCH 3/3] Update .github/workflows/static.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 0ba8230..8f12d41 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -37,7 +37,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: # Upload entire repository - path: '.' + path: 'docs' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4