Skip to content

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

ci: use script/ci.sh to handle ssh keys

Abdullah Attaf9310f9cd3c0
diff --git a/apps/web/.github/workflows/build.yml b/apps/web/.github/workflows/build.yml
index 4f1d4bb07..8cdaa24ce 100644
--- a/apps/web/.github/workflows/build.yml
+++ b/apps/web/.github/workflows/build.yml
@@ -5,17 +5,14 @@ on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
+ env:
+ GH_DEPLOY_KEY: ${{ secrets.GH_DEPLOY_KEY }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- - name: Setup SSH
- uses: webfactory/[email protected]
- with:
- ssh-private-key: ${{ secrets.GH_SSH_KEY }}
-
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with: