Merge pull request #37 from EA31337/dependabot/npm_and_yarn/webpack-d… #51
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 site | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm ci | |
- run: npm test | |
- run: npm run predeploy | |
env: | |
NODE_ENV: prod | |
- name: Deploy site | |
run: > | |
npm run deploy | |
-- | |
-r https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
-u "${GITHUB_ACTOR} <${GITHUB_ACTOR}@users.noreply.github.com>" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_DEBUG: gh-pages | |
NODE_ENV: prod |