Commit a4453800 authored by Finn's avatar Finn 🌵
Browse files

Update publishing config

parent bd210c23
Pipeline #3368 passed with stages
in 52 seconds
......@@ -9,13 +9,15 @@ build:
paths:
- output/
expire_in: 1 hrs
deploy:
image: minio/mc
image: debian:buster-slim
stage: deploy
only:
- master
before_script:
- mc config host add minio "${S3_URL}" "${AWS_ACCESS_KEY_ID}" "${AWS_SECRET_ACCESS_KEY}"
- mkdir -p ~/.config/rclone
- echo -e "[sfo2]\ntype = s3\nenv_auth = true\nendpoint = sfo2.digitaloceanspaces.com\nacl = public-read" > ~/.config/rclone/rclone.conf
- apt-get update && apt-get install -y rclone ca-certificates
script:
- mc cp -r -q output/ minio/${S3_BUCKET}/pyre.chat/
- rclone sync output/ sfo2:${S3_BUCKET}/yosl.info/
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