Skip to content

Commit

Permalink
Merge pull request stockmarkat#153 from stockmarkat/RohrerF-patch-1
Browse files Browse the repository at this point in the history
Deploy to gh-pages using Github Actions
  • Loading branch information
RohrerF authored Sep 12, 2020
2 parents c8bf00f + 4349061 commit 4fba339
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install and Build 🔧
run: |
yarn
yarn build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch

0 comments on commit 4fba339

Please sign in to comment.