Compare commits
25 Commits
df568d28ec
...
07b52df9a3
Author | SHA1 | Date | |
---|---|---|---|
|
07b52df9a3 | ||
|
aa31e1801c | ||
|
dd73aadc6c | ||
|
243735859e | ||
|
1ee4939fe4 | ||
|
e42479364f | ||
|
673cfd19ad | ||
|
c50ce8abde | ||
|
3077bbb16d | ||
|
7a7b094428 | ||
|
d1e3670a5f | ||
|
45c4969335 | ||
|
d4cacf7d91 | ||
|
c981bbd205 | ||
|
aa3f968182 | ||
|
6c9612bd4c | ||
|
c4db8a3954 | ||
|
117f00eb1e | ||
|
dda5c8bfb8 | ||
|
139160d45a | ||
|
5afbbd867e | ||
|
ecf8cbb207 | ||
|
1e27155fad | ||
|
b1d8d043a0 | ||
|
a89fb05ce6 |
16
.woodpecker.yml
Normal file
16
.woodpecker.yml
Normal file
@ -0,0 +1,16 @@
|
||||
branches: main
|
||||
|
||||
pipeline:
|
||||
build:
|
||||
image: peaceiris/hugo
|
||||
commands:
|
||||
- hugo -D
|
||||
deploy:
|
||||
image: alpine
|
||||
secrets: [ S3_ACCESS_KEY, S3_SECRET_ACCESS_KEY, CDN_KEY ]
|
||||
commands:
|
||||
- apk update
|
||||
- apk add s3cmd curl
|
||||
- s3cmd --configure --access_key=$S3_ACCESS_KEY --secret_key=$S3_SECRET_ACCESS_KEY --host=https://eu-central-1.linodeobjects.com --host-bucket="%(bucket)s.eu-central-1.linodeobjects.com" --dump-config > /root/.s3cfg
|
||||
- s3cmd -c /root/.s3cfg sync public/* s3://wilw.dev
|
||||
- 'curl -X POST -H "AccessKey: CDN_KEY" https://api.bunny.net/pullzone/907104/purgeCache'
|
Loading…
Reference in New Issue
Block a user