feat: switch main domain to vrifox.eu
This commit is contained in:
parent
17edade40c
commit
a23873738c
5 changed files with 11 additions and 11 deletions
|
@ -4,7 +4,7 @@ steps:
|
|||
commands:
|
||||
- hugo --destination /woodpecker/build/ --minify --cleanDestinationDir
|
||||
volumes:
|
||||
- /srv/woodpecker-cache/vrifox.cc:/woodpecker/src/code.cozy.town/vrifox/website/resources/_gen
|
||||
- /srv/woodpecker-cache/vrifox.eu:/woodpecker/src/code.cozy.town/vrifox/website/resources/_gen
|
||||
when:
|
||||
- branch: main
|
||||
event: [push, pull_request_closed, manual]
|
||||
|
@ -12,9 +12,9 @@ steps:
|
|||
build-dev:
|
||||
image: code.cozy.town/vrifox/hugoci:latest
|
||||
commands:
|
||||
- hugo --destination /woodpecker/build/ --baseURL "https://dev.vrifox.cc/" --cleanDestinationDir
|
||||
- hugo --destination /woodpecker/build/ --baseURL "https://dev.vrifox.eu/" --cleanDestinationDir
|
||||
volumes:
|
||||
- /srv/woodpecker-cache/vrifox.cc:/woodpecker/src/code.cozy.town/vrifox.cc/website/resources/_gen
|
||||
- /srv/woodpecker-cache/vrifox.eu:/woodpecker/src/code.cozy.town/vrifox.eu/website/resources/_gen
|
||||
when:
|
||||
- branch:
|
||||
exclude: main
|
||||
|
@ -27,7 +27,7 @@ steps:
|
|||
- echo "$${DEPLOY_BOT_SSH_KEY}" > /root/.ssh/id_ed25519
|
||||
- chmod 400 /root/.ssh/id_ed25519
|
||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
|
||||
- rsync -rv --delete -e "ssh -p 42824 -i /root/.ssh/id_ed25519" /woodpecker/build/ deploy-bot@cozytown-main.cozy.town:/srv/http/vrifox.cc/ --mkpath --checksum
|
||||
- rsync -rv --delete -e "ssh -p 42824 -i /root/.ssh/id_ed25519" /woodpecker/build/ deploy-bot@cozytown-main.cozy.town:/srv/http/vrifox.eu/ --mkpath --checksum
|
||||
environment:
|
||||
DEPLOY_BOT_SSH_KEY:
|
||||
from_secret: deploy_bot_ssh_key
|
||||
|
@ -42,8 +42,8 @@ steps:
|
|||
- echo "$${DEPLOY_BOT_SSH_KEY}" > /root/.ssh/id_ed25519
|
||||
- chmod 400 /root/.ssh/id_ed25519
|
||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
|
||||
- rsync -rv --delete -e "ssh -p 42824 -i /root/.ssh/id_ed25519" /woodpecker/build/ deploy-bot@cozytown-main.cozy.town:/srv/http/vrifox.cc-dev/ --mkpath --checksum
|
||||
- echo "The preview is now available on https://dev.vrifox.cc/"
|
||||
- rsync -rv --delete -e "ssh -p 42824 -i /root/.ssh/id_ed25519" /woodpecker/build/ deploy-bot@cozytown-main.cozy.town:/srv/http/dev.vrifox.eu/ --mkpath --checksum
|
||||
- echo "The preview is now available on https://dev.vrifox.eu/"
|
||||
environment:
|
||||
DEPLOY_BOT_SSH_KEY:
|
||||
from_secret: deploy_bot_ssh_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue