updating deploy rules to point to new www path
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 8s
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 8s
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
||||
container:
|
||||
image: hugomods/hugo:latest
|
||||
# Mount deployment target and the framework (Read-Only)
|
||||
options: --user root -v /srv/caddy/sites:/deploy -v /srv/dev/hugo/wiki:/framework:ro
|
||||
options: --user root -v /srv/www:/deploy -v /srv/dev/hugo/wiki:/framework:ro
|
||||
|
||||
steps:
|
||||
- name: Checkout Docs Source
|
||||
@@ -53,6 +53,6 @@ jobs:
|
||||
HUGO_PARAMS_ARTICLE_EDITURL="https://git.wompmacho.com/wompmacho/docs-public/src/branch/main" hugo --minify --destination public
|
||||
|
||||
# Deploy to Nginx Volume
|
||||
mkdir -p /deploy/wiki
|
||||
rm -rf /deploy/wiki/*
|
||||
cp -r public/* /deploy/wiki/
|
||||
mkdir -p /deploy/docs-public
|
||||
rm -rf /deploy/docs-public/*
|
||||
cp -r public/* /deploy/docs-public/
|
||||
|
||||
Reference in New Issue
Block a user