Artifacts
This commit is contained in:
parent
c032930d0b
commit
5f4134332b
@ -23,10 +23,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
hugo \
|
hugo \
|
||||||
--minify
|
--minify
|
||||||
|
- uses: actions/upload-artifact@master
|
||||||
|
with:
|
||||||
|
name: built-artifact
|
||||||
|
path: public
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: actions/download-artifact@master
|
||||||
|
with:
|
||||||
|
name: built-artifact
|
||||||
|
path: public
|
||||||
- name: pre-reqs
|
- name: pre-reqs
|
||||||
run: apt update; apt install -y sshpass
|
run: apt update; apt install -y sshpass
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
|
Loading…
Reference in New Issue
Block a user