Skip to content

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

ci: do not use env

thecodrr7e422e9e4f2a
diff --git a/apps/web/.github/workflows/deploy.yml b/apps/web/.github/workflows/deploy.yml
index c591a0109..3a925dff0 100644
--- a/apps/web/.github/workflows/deploy.yml
+++ b/apps/web/.github/workflows/deploy.yml
@@ -9,9 +9,8 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
- env:
- GH_DEPLOY_KEY: ${{ secrets.GH_DEPLOY_KEY }}
steps:
+ - run: echo "GH_DEPLOY_KEY=${{ secrets.GH_DEPLOY_KEY }}" >> $GITHUB_ENV
- 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:
diff --git a/apps/web/.github/workflows/e2e.yml b/apps/web/.github/workflows/e2e.yml
index 15227494e..edb36d8c8 100644
--- a/apps/web/.github/workflows/e2e.yml
+++ b/apps/web/.github/workflows/e2e.yml
@@ -5,10 +5,9 @@ on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
- env:
- GH_DEPLOY_KEY: ${{ secrets.GH_DEPLOY_KEY }}
- CI: true
steps:
+ - run: echo "GH_DEPLOY_KEY=${{ secrets.GH_DEPLOY_KEY }}" >> $GITHUB_ENV
+ - run: echo "CI=true" >> $GITHUB_ENV
- 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:
diff --git a/apps/web/.github/workflows/eslint.yml b/apps/web/.github/workflows/eslint.yml
index 7dfc41e2c..1d065cb86 100644
--- a/apps/web/.github/workflows/eslint.yml
+++ b/apps/web/.github/workflows/eslint.yml
@@ -14,10 +14,9 @@ jobs:
lint:
# The type of runner that the job will run on
runs-on: ubuntu-latest
- env:
- GH_DEPLOY_KEY: ${{ secrets.GH_DEPLOY_KEY }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
+ - run: echo "GH_DEPLOY_KEY=${{ secrets.GH_DEPLOY_KEY }}" >> $GITHUB_ENV
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v1
- name: Use Node.js 12.x