Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ci: remove beta publish workflows

Abdullah Attad96815fa3658
diff --git a/.github/workflows/web.beta.publish.yml b/.github/workflows/web.beta.publish.yml
deleted file mode 100644
index 59b15a406..000000000
--- a/.github/workflows/web.beta.publish.yml
+++ /dev/null
@@ -1,69 +0,0 @@
-name: Publish @notesnook/web Beta
-
-on:
- workflow_dispatch:
- push:
- branches:
- - master
- - "!v3-beta"
- paths-ignore:
- - "apps/mobile/**"
- - "packages/editor-mobile/**"
- - "apps/desktop/**"
- - "apps/vericrypt/**"
- - "servers/**"
- - "packages/clipper/**"
- - "extensions/web-clipper/**"
- pull_request:
- types:
- - closed
- - ready_for_review
- - reopened
- - opened
- - synchronize
- branches:
- - master
- - "!v3-beta"
- paths-ignore:
- - "apps/mobile/**"
- - "packages/editor-mobile/**"
- - "apps/desktop/**"
- - "apps/vericrypt/**"
- - "servers/**"
- - "packages/clipper/**"
- - "extensions/web-clipper/**"
-jobs:
- build:
- name: Build
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v3
-
- - name: Setup Node
- uses: ./.github/actions/setup-node-with-cache
-
- - name: Install packages
- run: |
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=web
-
- - name: Setup environment
- run: |
- echo "NX_CLOUD_ACCESS_TOKEN=${{ secrets.NX_CLOUD_ACCESS_TOKEN }}" >> $GITHUB_ENV
- echo "CLOUDFLARE_ACCOUNT_ID=${{ secrets.CLOUDFLARE_ACCOUNT_ID }}" >> $GITHUB_ENV
- echo "CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }}" >> $GITHUB_ENV
-
- - name: Generate beta build
- run: npm run build:beta:web
-
- - name: Publish to Cloudflare Pages
- uses: unlike-ltd/[email protected]
- id: pages
- with:
- cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- cloudflare-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- cloudflare-project-name: notesnook-beta-app
- directory: ./apps/web/build
- github-token: ${{ secrets.GITHUB_TOKEN }}
- github-environment: ${{ (github.ref == 'refs/heads/master' && 'beta') || 'preview' }}
diff --git a/.github/workflows/web.v3-beta.publish.yml b/.github/workflows/web.v3-beta.publish.yml
deleted file mode 100644
index 299973dec..000000000
--- a/.github/workflows/web.v3-beta.publish.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: Publish @notesnook/web v3 Beta
-
-on:
- workflow_dispatch:
-
-jobs:
- build:
- name: Build
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v3
-
- - name: Setup Node
- uses: ./.github/actions/setup-node-with-cache
-
- - name: Install packages
- run: |
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=web
-
- - name: Setup environment
- run: |
- echo "NX_CLOUD_ACCESS_TOKEN=${{ secrets.NX_CLOUD_ACCESS_TOKEN }}" >> $GITHUB_ENV
- echo "CLOUDFLARE_ACCOUNT_ID=${{ secrets.CLOUDFLARE_ACCOUNT_ID }}" >> $GITHUB_ENV
- echo "CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }}" >> $GITHUB_ENV
-
- - name: Build
- run: npm run build:web
-
- - name: Publish to Cloudflare Pages
- run: npx --yes wrangler pages deploy --project-name=notesnook-v3-beta ./apps/web/build/