New version #120
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: Full Build and Deploy ## Workflow | |
on: | |
push: | |
branches: | |
- source | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
main-job: | |
name: Deploy Job | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: Install and Build | |
run: | | |
npm install | |
npm run build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: master | |
FOLDER: public | |
CLEAN: true |