Merge pull request #185 from aronnebrivio/dependabot/npm_and_yarn/pos… #124
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: Publish production on Github Pages | |
on: | |
push: | |
branches: | |
- production | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Install and Build 🔧 | |
run: | | |
npm install | |
npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.4.3 | |
with: | |
token: ${{ secrets.ACCESS_TOKEN }} | |
branch: master | |
folder: dist | |
clean: true |