Add talent is pursued interest post #85
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: Continuous Deployment | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
BuildAndDeploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v3 | |
- name: 🔧 Install dependencies | |
run: yarn --immutable | |
- name: ✅ Dedupe dependencies | |
run: yarn dedupe -c | |
- name: 🚨 Lint source | |
run: yarn lint | |
- name: 🧼 Clean build artifacts | |
run: yarn clean | |
- name: 🏗️ Build | |
run: yarn build | |
- name: 🚀 Deploy | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist |