Skip to content

✨ Update projects, education and work #11

✨ Update projects, education and work

✨ Update projects, education and work #11

name: deploy-production
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn build
- name: audit
run: yarn audit --level high --groups dependencies
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: akhileshns/heroku-deploy@v3.12.12
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: harasta-dev
heroku_email: ${{secrets.HEROKU_EMAIL}}