Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[ensu] remove web deploy workflow

Prateek Sunal30428a3083e5
diff --git a/.github/workflows/ensu-web-deploy.yml b/.github/workflows/ensu-web-deploy.yml
deleted file mode 100644
index 24634c282c..0000000000
--- a/.github/workflows/ensu-web-deploy.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-name: "Deploy web (ensu)"
-
-on:
- push:
- # Run when a tag matching the pattern "ensu-v*" is pushed
- tags:
- - "ensu-v*"
- # Also allow manually running the workflow
- workflow_dispatch:
-
-permissions:
- contents: read
-
-jobs:
- deploy-web:
- runs-on: ubuntu-latest
-
- defaults:
- run:
- working-directory: web
-
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
- with:
- persist-credentials: false
-
- - name: Setup node and enable yarn caching
- uses: actions/setup-node@v4
- with:
- node-version: 22
- cache: "yarn"
- cache-dependency-path: "web/yarn.lock"
-
- - name: Install dependencies
- run: yarn install --frozen-lockfile
-
- - name: Audit dependencies
- run: |
- yarn audit --level critical || exit_code=$?
- if [[ $exit_code -ge 16 ]]; then
- echo "::error::Yarn audit found critical issues"
- exit 1
- fi
-
- - name: Build ensu
- run: yarn build:ensu
-
- - name: Publish ensu
- uses: cloudflare/wrangler-action@v3
- with:
- accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/ensu web/apps/ensu/out