Github actions: add volume
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
bd2bf4ca22
commit
0f39d8cfc5
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -9,11 +9,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: docker://git.korhonen.cc/functionalhacker/hugo-asciidoc-docker-ci:latest
|
image: docker://git.korhonen.cc/functionalhacker/hugo-asciidoc-docker-ci:latest
|
||||||
|
volumes:
|
||||||
|
- ',/public:/public'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: hugo --gc --minify
|
- run: hugo --gc --minify -d /public
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue