Homepage/.github/workflows/deploy-pages.yml

29 lines
513 B
YAML
Raw Normal View History

2020-02-14 04:30:19 +00:00
name: Deploy to GitHub Pages
on:
push:
branches:
- master
- deploy-action
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-02-14 04:42:06 +00:00
with:
persist-credentials: false
2020-02-14 04:30:19 +00:00
- name: Invoke Webpack build
run: |
npm install .
npm run build
2020-02-14 04:42:06 +00:00
2020-02-14 04:35:28 +00:00
- name: Invoke Deployment
2020-02-14 04:43:54 +00:00
with:
2020-02-14 04:42:06 +00:00
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
uses: JamesIves/github-pages-deploy-action@3.2.1