π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clean up web deploy workflows
Manav Rathi76f5a0d0858c
diff --git a/.github/workflows/docs-deploy-redirect.yml b/.github/workflows/docs-deploy-redirect.ymlindex 011f120ed7..e4f6bc5df7 100644--- a/.github/workflows/docs-deploy-redirect.yml+++ b/.github/workflows/docs-deploy-redirect.yml@@ -1,13 +1,10 @@name: "Deploy (help.ente.io redirect)"on:- # Run when the redirect file changespush:branches: [main]paths:- "infra/services/help-redir/**"- - ".github/workflows/docs-deploy-redirect.yml"- # Also allow manually running the workflowworkflow_dispatch:permissions:@@ -19,8 +16,7 @@ jobs:environment: productionsteps:- - name: Checkout code- uses: actions/checkout@v6+ - uses: actions/checkout@v6- name: Deploy redirect to help.ente.iouses: cloudflare/wrangler-action@v3diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.ymlindex 589a02274e..77efc2a8f8 100644--- a/.github/workflows/docs-deploy.yml+++ b/.github/workflows/docs-deploy.yml@@ -1,13 +1,11 @@name: "Deploy (docs)"on:- # Run on every push to main that changes docs/push:branches: [main]paths:- - "docs/**"- ".github/workflows/docs-deploy.yml"- # Also allow manually running the workflow+ - "docs/**"workflow_dispatch:permissions:diff --git a/.github/workflows/infra-deploy-staff.yml b/.github/workflows/infra-deploy-staff.ymlindex 03d91a4471..455a057dfd 100644--- a/.github/workflows/infra-deploy-staff.yml+++ b/.github/workflows/infra-deploy-staff.yml@@ -1,20 +1,18 @@name: "Deploy (staff)"on:- # Run on every push to main that changes infra/staff/push:branches: [main]paths:- - "infra/staff/**"- ".github/workflows/infra-deploy-staff.yml"- # Also allow manually running the workflow+ - "infra/staff/**"workflow_dispatch:permissions:contents: readjobs:- lint:+ deploy:runs-on: ubuntu-latestenvironment: production@@ -23,8 +21,7 @@ jobs:working-directory: infra/staffsteps:- - name: Checkout code- uses: actions/checkout@v6+ - uses: actions/checkout@v6- name: Setup node and enable npm cachinguses: actions/setup-node@v6@@ -33,11 +30,9 @@ jobs:cache: "npm"cache-dependency-path: "infra/staff/package-lock.json"- - name: Install dependencies- run: npm ci+ - run: npm ci- - name: Build- run: npm run build+ - run: npm run build- name: Publishuses: cloudflare/wrangler-action@v3diff --git a/.github/workflows/web-deploy-2of3.yml b/.github/workflows/web-deploy-2of3.ymlindex 6c3cf667b6..960b4dddb2 100644--- a/.github/workflows/web-deploy-2of3.yml+++ b/.github/workflows/web-deploy-2of3.yml@@ -1,4 +1,4 @@-name: "Deploy (twoof3 web)"+name: "Deploy (2of3)"on:workflow_dispatch:@@ -16,10 +16,8 @@ jobs:working-directory: websteps:- - name: Checkout code+ - name: Checkoutuses: actions/checkout@v6- with:- persist-credentials: false- name: Setup node and enable yarn cachinguses: actions/setup-node@v6@@ -44,10 +42,10 @@ jobs:exit 1fi- - name: Build twoof3+ - name: Build 2of3run: yarn build:twoof3- - name: Publish twoof3+ - name: Publish 2of3uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.ymlindex 42308bedcb..160764c9bb 100644--- a/.github/workflows/web-deploy.yml+++ b/.github/workflows/web-deploy.yml@@ -36,10 +36,8 @@ jobs:CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}steps:- - name: Checkout code+ - name: Checkoutuses: actions/checkout@v6- with:- persist-credentials: false- name: Setup node and enable yarn cachinguses: actions/setup-node@v6diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.ymlindex 814299fbee..43a147b54e 100644--- a/.github/workflows/web-lint.yml+++ b/.github/workflows/web-lint.yml@@ -29,8 +29,6 @@ jobs:steps:- name: Checkout codeuses: actions/checkout@v6- with:- persist-credentials: false- name: Setup node and enable yarn cachinguses: actions/setup-node@v6