Create deploy action.
This commit is contained in:
parent
4ee88d7113
commit
0762a4cca5
25
.github/workflows/deploy.yml
vendored
Normal file
25
.github/workflows/deploy.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Build and Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout master
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Hugo Deploy GitHub Pages
|
||||||
|
uses: benmatselby/hugo-deploy-gh-pages@master
|
||||||
|
env:
|
||||||
|
HUGO_VERSION: 0.75.1
|
||||||
|
TARGET_REPO: jrwrigh/jrwrigh.github.io
|
||||||
|
TOKEN: ${{ secrets.TOKEN }}
|
||||||
|
CNAME: www.thanwer.com
|
||||||
Loading…
Reference in New Issue
Block a user