Skip to content

Commit

Permalink
Adding GithubAction to deploy site
Browse files Browse the repository at this point in the history
  • Loading branch information
njt1982 committed Jun 1, 2020
1 parent f4b7729 commit 1c00400
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Deploy site

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install
uses: borales/[email protected]
with:
cmd: install
- name: Build
uses: borales/[email protected]
with:
cmd: build
- name: Install SSH Client
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SSH: true
BRANCH: gh-pages
FOLDER: 'dist'
CLEAN: true

0 comments on commit 1c00400

Please sign in to comment.