Merge pull request #45 from njt1982/dependabot/npm_and_yarn/follow-re… #52
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 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install | |
uses: borales/[email protected] | |
with: | |
cmd: install | |
- name: Build App | |
uses: borales/[email protected] | |
with: | |
cmd: build | |
- name: Build Sitemap | |
uses: borales/[email protected] | |
with: | |
cmd: sitemap | |
- name: Install SSH Client | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.DEPLOY_KEY }} | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
ssh-key: true | |
folder: 'dist' | |
clean: true |