chore: update version #16
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: Build and Deploy to GH Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
with: | |
persist-credentials: false | |
- name: Install Node Modules | |
run: | | |
cd front-end | |
npm ci | |
cd ../resume | |
npm ci | |
- name: Build Front-End | |
run: | | |
cd front-end | |
npm run build | |
- name: Build Resume | |
run: | | |
cd resume | |
npm run build | |
- name: Copy Files to Public Directory | |
run: | | |
cp -r front-end/dist/front-end/browser ./public | |
cp resume/will-warner-resume-* ./public/assets | |
- name: Deploy to GH Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: public | |
cname: willrwarner.dev |