Merge pull request #398 from valor-software/development #77
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: on push to master | |
on: | |
push: | |
branches: | |
- master | |
env: | |
CACHE_NODE_MODULES_PATH: | | |
node_modules | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.15.1' | |
- run: yarn install | |
- run: npx nx run valor-software-site:build-scully --prod | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./dist/valor-software-site |