mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-25 16:09:42 +01:00
ci: do not use env
This commit is contained in:
3
apps/web/.github/workflows/deploy.yml
vendored
3
apps/web/.github/workflows/deploy.yml
vendored
@@ -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:
|
||||
|
||||
5
apps/web/.github/workflows/e2e.yml
vendored
5
apps/web/.github/workflows/e2e.yml
vendored
@@ -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:
|
||||
|
||||
3
apps/web/.github/workflows/eslint.yml
vendored
3
apps/web/.github/workflows/eslint.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user