Deploy preview site to review pull requests #5
|
@ -64,7 +64,7 @@ jobs:
|
||||||
WEB_ROOT="${WEB_DIR}/preview"
|
WEB_ROOT="${WEB_DIR}/preview"
|
||||||
WEB_HOST="preview.${WEB_DOMAIN}"
|
WEB_HOST="preview.${WEB_DOMAIN}"
|
||||||
WEB_CONTEXT='/${{ gitea.event.pull_request.number }}/'
|
WEB_CONTEXT='/${{ gitea.event.pull_request.number }}/'
|
||||||
end
|
fi
|
||||||
# Save those variabes in the environment for the next steps
|
# Save those variabes in the environment for the next steps
|
||||||
echo "WEB_HOST=${WEB_HOST}" >> $GITEA_ENV
|
echo "WEB_HOST=${WEB_HOST}" >> $GITEA_ENV
|
||||||
echo "WEB_CONTEXT=${WEB_CONTEXT}" >> $GITEA_ENV
|
echo "WEB_CONTEXT=${WEB_CONTEXT}" >> $GITEA_ENV
|
||||||
|
|
Loading…
Reference in New Issue