Commit f9851d36 authored by Frederic Pasteleurs's avatar Frederic Pasteleurs

bug fix

parent a1ad8353
Pipeline #36779578 passed with stages
in 1 minute and 16 seconds
......@@ -31,7 +31,7 @@ pages:
- hugo version
- hugo
- echo $(date +%Y.%m.%d)
- tar cz public | ssh [email protected] "mkdir /www/versions/$(date +%Y.%m.%d); cd /www/versions/$(date +%Y.%m.%d); tar xz"
- tar cz public | ssh [email protected] "mkdir -p /www/versions/$(date +%Y.%m.%d); cd /www/versions/$(date +%Y.%m.%d); tar xz"
#- scp -r public [email protected]:/srv/www/hsbxl.be/www/versions/$(date +%Y.%m.%d)/
- ssh [email protected] "rm /www/live; ln -sf /www/versions/$(date +%Y.%m.%d)/public /www/live"
artifacts:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment