Bump copy-props from 2.0.4 to 2.0.5 #194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
# Weekly on a Friday at midnight | |
- cron: "0 0 * * 5" | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Read .nvmrc | |
id: nvmrc | |
shell: bash | |
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} | |
- run: npm ci | |
- run: npm run build | |
env: | |
CI: true | |
GA_KEY: ${{ secrets.GA_KEY }} | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@4.1.4 | |
with: | |
branch: gh-pages | |
folder: dist |