Add deployment github action

pull/1331/head
Kamran Ahmed 4 years ago committed by GitHub
parent 9d2fdfa7cf
commit ab15d91614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      .github/workflows/deploy.yml

@ -0,0 +1,20 @@
name: Deployment to GitHub Pages
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install -g yarn
- run: |
yarn install
yarn meta
yarn build
env:
ROADMAP_GH_SECRET: ${{ secrets.GA_SECRET }}
- run: npm run deploy
Loading…
Cancel
Save