A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
ci: add support for publishing web app beta
Abdullah Atta7e598098fe1a
diff --git a/.github/workflows/web.publish.yml b/.github/workflows/web.publish.ymlindex 782f54c74..037a6cbde 100644--- a/.github/workflows/web.publish.yml+++ b/.github/workflows/web.publish.yml@@ -1,6 +1,16 @@name: Publish @notesnook/web-on: workflow_dispatch+on:+ workflow_dispatch:+ inputs:+ release-track:+ type: choice+ required: true+ default: stable+ description: "Select the release track"+ options:+ - stable+ - betajobs:build:@@ -24,8 +34,18 @@ jobs:echo "CLOUDFLARE_ACCOUNT_ID=${{ secrets.CLOUDFLARE_ACCOUNT_ID }}" >> $GITHUB_ENVecho "CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }}" >> $GITHUB_ENV- - name: Generate build+ - name: Generate build (stable)+ if: ${{ inputs.release-track == 'stable' }}run: npm run build:web- - name: Publish to Cloudflare Pages+ - name: Publish to Cloudflare Pages (stable)+ if: ${{ inputs.release-track == 'stable' }}run: npx --yes wrangler pages deploy --project-name=notesnook-app ./apps/web/build/++ - name: Generate build (beta)+ if: ${{ inputs.release-track == 'beta' }}+ run: npm run build:beta:web++ - name: Publish to Cloudflare Pages (beta)+ if: ${{ inputs.release-track == 'beta' }}+ run: npx --yes wrangler pages deploy --branch=beta --project-name=notesnook-app-beta ./apps/web/build/