commit 813d08f5d605bbe40fc006be6395571e8fd8362e
parent 5904f8cb8103d29043c128b930f7af845ebcc91d
Author: maydayv7 <maydayv7@gmail.com>
Date: Mon, 8 Jun 2026 21:40:08 +0530
ci(deps): Update Workflows
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/website-git.yaml b/.github/workflows/website-git.yaml
@@ -11,6 +11,9 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ deployments: write
steps:
- name: Clone Repo
uses: actions/checkout@v6
@@ -30,7 +33,7 @@ jobs:
run: mv public site/git/public
- name: Deploy to Cloudflare
id: deploy
- uses: cloudflare/wrangler-action@v3
+ uses: cloudflare/wrangler-action@v4
with:
workingDirectory: "site/git"
command: deploy --env production
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
@@ -11,6 +11,9 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ deployments: write
steps:
- name: Clone Repo
uses: actions/checkout@v6
@@ -32,7 +35,7 @@ jobs:
cp -rL result/* site/public/
- name: Deploy to Cloudflare
id: deploy
- uses: cloudflare/wrangler-action@v3
+ uses: cloudflare/wrangler-action@v4
with:
workingDirectory: "site"
command: deploy ${{ github.ref == 'refs/heads/stable' && '--env production' || '' }}