Create deploy action.

This commit is contained in:
Pietro Arancibia 2020-09-20 10:18:14 -03:00
parent 4ee88d7113
commit 0762a4cca5
No known key found for this signature in database
GPG Key ID: 52E16F71B166E155

25
.github/workflows/deploy.yml vendored Normal file
View 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