Compare commits
1 commit
6ba39ee1dd
...
4bb523a36d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bb523a36d |
1 changed files with 2 additions and 2 deletions
|
|
@ -57,11 +57,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ gitea.ref }}" = 'refs/heads/main' ]; then
|
if [ "${{ gitea.ref }}" = 'refs/heads/main' ]; then
|
||||||
WEB_ROOT="${WEB_DIR}/site"
|
WEB_ROOT="${WEB_DIR}/site"
|
||||||
WEB_HOST="www.${WEB_DOMAIN}"
|
WEB_HOST="live.www.${WEB_DOMAIN}"
|
||||||
WEB_CONTEXT='/'
|
WEB_CONTEXT='/'
|
||||||
else
|
else
|
||||||
WEB_ROOT="${WEB_DIR}/preview"
|
WEB_ROOT="${WEB_DIR}/preview"
|
||||||
WEB_HOST="preview.${WEB_DOMAIN}"
|
WEB_HOST="preview.www.${WEB_DOMAIN}"
|
||||||
WEB_CONTEXT='/${{ gitea.event.pull_request.number }}/'
|
WEB_CONTEXT='/${{ gitea.event.pull_request.number }}/'
|
||||||
fi
|
fi
|
||||||
# Save those variabes in the environment for the next steps
|
# Save those variabes in the environment for the next steps
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue