Updates deploy script.
This commit is contained in:
parent
eaea26d74f
commit
60a4528717
25
.github/workflows/deploy.yml
vendored
25
.github/workflows/deploy.yml
vendored
@ -1,25 +0,0 @@
|
|||||||
name: Build and Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout master
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Hugo Deploy GitHub Pages
|
|
||||||
uses: benmatselby/hugo-deploy-gh-pages@master
|
|
||||||
env:
|
|
||||||
HUGO_VERSION: 0.75.1
|
|
||||||
TARGET_REPO: thanwer/thanwer.github.io
|
|
||||||
TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|
|
||||||
CNAME: www.thanwer.com
|
|
||||||
Loading…
Reference in New Issue
Block a user