π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[web] Migrate off deprecated Cloudflare action
Manav Rathi3341be45f880
diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.ymlindex 3e25248edb..0443ee63da 100644--- a/.github/workflows/docs-deploy.yml+++ b/.github/workflows/docs-deploy.yml@@ -52,4 +52,4 @@ jobs:# There is no clear documentation of if passing this is# harmless, but all indications and in-practice tests seem to# indicate so.- command: pages deploy --project-name=ente --branch=help --commit-dirty=true docs/docs/.vitepress/dist+ command: pages deploy --project-name=ente --commit-dirty=true --branch=help docs/docs/.vitepress/distdiff --git a/.github/workflows/web-deploy-one.yml b/.github/workflows/web-deploy-one.ymlindex bdf1773aec..f7b0e6523d 100644--- a/.github/workflows/web-deploy-one.yml+++ b/.github/workflows/web-deploy-one.yml@@ -43,11 +43,8 @@ jobs:run: yarn build:${{ inputs.app }}- name: Publish ${{ inputs.app }} to preview- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: deploy/${{ inputs.app }}- directory: web/apps/${{ inputs.app }}/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/${{ inputs.app }} web/apps/${{ inputs.app }}/outdiff --git a/.github/workflows/web-deploy-preview.yml b/.github/workflows/web-deploy-preview.ymlindex 4cf5986de7..4bb1870726 100644--- a/.github/workflows/web-deploy-preview.yml+++ b/.github/workflows/web-deploy-preview.yml@@ -43,11 +43,8 @@ jobs:run: yarn build:${{ inputs.app }}- name: Publish ${{ inputs.app }} to preview- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: preview- directory: web/apps/${{ inputs.app }}/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=preview web/apps/${{ inputs.app }}/outdiff --git a/.github/workflows/web-deploy-staff.yml b/.github/workflows/web-deploy-staff.ymlindex 4d386344df..854e163644 100644--- a/.github/workflows/web-deploy-staff.yml+++ b/.github/workflows/web-deploy-staff.yml@@ -38,11 +38,8 @@ jobs:run: yarn build:staff- name: Publish staff- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: deploy/staff- directory: web/apps/staff/dist- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/staff web/apps/staff/distdiff --git a/.github/workflows/web-deploy-staging.yml b/.github/workflows/web-deploy-staging.ymlindex 93469a65d0..ca3a6142b2 100644--- a/.github/workflows/web-deploy-staging.yml+++ b/.github/workflows/web-deploy-staging.yml@@ -39,63 +39,48 @@ jobs:NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT: https://albums.ente.sh- name: Publish photos- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: n-photos- directory: web/apps/photos/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=n-photos web/apps/photos/out- name: Build accountsrun: yarn build:accounts- name: Publish accounts- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: n-accounts- directory: web/apps/accounts/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=n-accounts web/apps/accounts/out- name: Build authrun: yarn build:auth- name: Publish auth- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: n-auth- directory: web/apps/auth/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=n-auth web/apps/auth/out- name: Build castrun: yarn build:cast- name: Publish cast- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: n-cast- directory: web/apps/cast/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=n-cast web/apps/cast/out- name: Build paymentsrun: yarn build:payments- name: Publish payments- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: n-payments- directory: web/apps/payments/dist- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=n-payments web/apps/payments/distdiff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.ymlindex 7f3ea8fe34..7427893af5 100644--- a/.github/workflows/web-deploy.yml+++ b/.github/workflows/web-deploy.yml@@ -47,63 +47,48 @@ jobs:run: yarn build:photos- name: Publish photos- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: deploy/photos- directory: web/apps/photos/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/photos web/apps/photos/out- name: Build accountsrun: yarn build:accounts- name: Publish accounts- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: deploy/accounts- directory: web/apps/accounts/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/accounts web/apps/accounts/out- name: Build authrun: yarn build:auth- name: Publish auth- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: deploy/auth- directory: web/apps/auth/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/auth web/apps/auth/out- name: Build castrun: yarn build:cast- name: Publish cast- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: deploy/cast- directory: web/apps/cast/out- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/cast web/apps/cast/out- name: Build paymentsrun: yarn build:payments- name: Publish payments- uses: cloudflare/pages-action@1+ uses: cloudflare/wrangler-action@v3with:accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}- projectName: ente- branch: deploy/payments- directory: web/apps/payments/dist- wranglerVersion: "3"+ command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/payments web/apps/payments/dist