Compare commits

...

2 Commits

Author SHA1 Message Date
a32ced531f
This would be really cool 2022-03-15 17:25:42 +01:00
bc38196fd3
Todo 2022-03-15 16:47:49 +01:00
3 changed files with 15 additions and 0 deletions

View File

@ -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:

View File

@ -31,6 +31,7 @@ type guestbook struct {
) // Handler to implement which calls the api
}
// TODO: The comments are loaded like 2 or 3 times every time the page is loaded...
func (g *guestbook) OnMount(ctx app.Context) {
g.LoadComments(ctx)
}

View File

@ -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{},
}