diff --git a/.drone.yml b/.drone.yml index dd9ef4a..447eabf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,19 @@ trigger: # STAGING!!!!!!!!!!!!! steps: +- name: upload + image: plugins/s3 + settings: + bucket: internetica-galactica + access_key: + from_secret: scw_access_key_id + secret_key: + from_secret: scw_secret_access_key + endpoint: https://s3.nl-ams.scw.cloud + region: nl-ams + source: web/**/* + target: / + acl: public-read - name: docker image: plugins/docker settings: diff --git a/src/main.go b/src/main.go index f9118e8..fe656a2 100644 --- a/src/main.go +++ b/src/main.go @@ -57,6 +57,7 @@ func main() { "/web/static/havakana.css", "/web/static/form.css", }, + Resources: app.RemoteBucket("https://internetica-galactica.s3.nl-ams.scw.cloud"), CacheableResources: []string{}, }