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 workflow for vericrypt publishing
Abdullah Atta022dd78eda57
diff --git a/.github/workflows/vericrypt.publish.yml b/.github/workflows/vericrypt.publish.ymlnew file mode 100644index 000000000..46ae39285--- /dev/null+++ b/.github/workflows/vericrypt.publish.yml@@ -0,0 +1,31 @@+name: Publish @notesnook/vericrypt++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=vericrypt++ - 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 desktop build+ run: npm run build:vericrypt++ - name: Publish on Cloudflare Pages+ run: npx --yes wrangler pages publish --project-name=vericrypt ./apps/vericrypt/build/diff --git a/package.json b/package.jsonindex d4910ba33..40ea14105 100644--- a/package.json+++ b/package.json@@ -7,8 +7,10 @@"clean": "node scripts/clean.mjs","build": "nx run-many --target=build --all --exclude=@notesnook/mobile,@notesnook/web","build:web": "nx build @notesnook/web",+ "build:vericrypt": "nx build @notesnook/vericrypt","build:test:web": "nx build:test @notesnook/web","start:web": "nx start @notesnook/web",+ "start:vericrypt": "nx start @notesnook/vericrypt","start:desktop": "nx start @notesnook/desktop","test:web": "nx test @notesnook/web","test:core": "nx test @notesnook/core",diff --git a/scripts/bootstrap.mjs b/scripts/bootstrap.mjsindex 200b029ae..f66d14a00 100644--- a/scripts/bootstrap.mjs+++ b/scripts/bootstrap.mjs@@ -31,6 +31,7 @@ const IS_CI = process.env.CI;const scopes = {mobile: "apps/mobile",web: "apps/web",+ vericrypt: "apps/vericrypt",desktop: "apps/desktop",core: "packages/core",editor: "packages/editor"