mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-25 07:59:48 +01:00
ci: make deploy faster
This commit is contained in:
8
apps/web/.github/workflows/deploy.yml
vendored
8
apps/web/.github/workflows/deploy.yml
vendored
@@ -9,20 +9,12 @@ on:
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
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: Use Node.js 12.x
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
- run: npm install
|
||||
|
||||
- name: Build and Deploy 🚀
|
||||
uses: amondnet/vercel-action@v20.0.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user