Commit e4463420 authored by Betz's avatar Betz

better pipeline stages

parent d819c0e0
Pipeline #94863305 passed with stages
in 2 minutes and 48 seconds
......@@ -5,6 +5,7 @@ image: monachus/hugo
- Build
- Deploy
- Notify
- apt-get update
......@@ -43,6 +44,6 @@ Deploy:
- tar cz public | ssh "mkdir -p /www/versions/$(date +%Y.%m.%d); cd /www/versions/$(date +%Y.%m.%d); tar xz; rm /www/live; ln -sf versions/$(date +%Y.%m.%d)/public /www/live"
stage: Deploy
stage: Notify
- curl -XPOST -d '{"msgtype":"m.text", "body":"Site updated."}' "!$MATRIX_ACCESS_TOKEN"
\ No newline at end of file
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