Skip to content

Merge pull request #648 from layer5io/dependabot/npm_and_yarn/site/br… #20

Merge pull request #648 from layer5io/dependabot/npm_and_yarn/site/br…

Merge pull request #648 from layer5io/dependabot/npm_and_yarn/site/br… #20

name: Build and Deploy Site
on:
push:
branches: [ master ]
paths:
- '!**'
- 'site/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@master
with:
fetch-depth: 1
- name: Install and Build 🔧
run: |
cd site
npm install
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