Compare commits
2 Commits
330385a357
...
a32ced531f
Author | SHA1 | Date | |
---|---|---|---|
a32ced531f | |||
bc38196fd3 |
13
.drone.yml
13
.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:
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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{},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user