Merge pull request #6130 from balagowda/animation #3231
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 Site | |
on: | |
push: | |
branches: [master] | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
- name: Install and Build 🔧 | |
run: | | |
npm install --legacy-peer-deps | |
npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: site # The branch the action should deploy to. | |
folder: public # The folder the action should deploy. | |
clean: true |