ci: make deploy faster

This commit is contained in:
thecodrr
2020-12-03 14:26:05 +05:00
parent 0df518b81e
commit 5bf422a48d

View File

@@ -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: