This commit is contained in:
parent
b1072ef00b
commit
2dd88f61b0
1 changed files with 25 additions and 3 deletions
|
@ -1,6 +1,28 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
build:
|
||||||
runs-on: docker
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo All Good
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: https://github.com/peaceiris/actions-hugo@v2
|
||||||
|
with:
|
||||||
|
hugo-version: "0.90.1"
|
||||||
|
extended: true
|
||||||
|
|
||||||
|
- name: Clone theme
|
||||||
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
|
- name: Hugo build
|
||||||
|
run: hugo -v
|
||||||
|
|
||||||
|
- name: Rsync Deployments Action
|
||||||
|
uses: https://github.com/Burnett01/rsync-deployments@5.2
|
||||||
|
with:
|
||||||
|
switches: -avzr --delete
|
||||||
|
path: public/
|
||||||
|
remote_path: ${{ secrets.remote_path }}
|
||||||
|
remote_host: ${{ secrets.remote_host }}
|
||||||
|
remote_user: ${{ secrets.remote_user }}
|
||||||
|
remote_key: ${{ secrets.remote_key }}
|
||||||
|
|
Loading…
Reference in a new issue