Compare commits

...

25 Commits

Author SHA1 Message Date
Will Webberley
07b52df9a3 Attempt to escape colon
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-25 17:58:04 +00:00
Will Webberley
aa31e1801c Remove curl line 2023-03-25 17:53:09 +00:00
Will Webberley
dd73aadc6c Try renaming key 2023-03-25 17:51:09 +00:00
Will Webberley
243735859e Re-add bunny 2023-03-25 17:48:38 +00:00
Will Webberley
1ee4939fe4 try to remove Bunny bits 2023-03-25 17:47:36 +00:00
Will Webberley
e42479364f Ensure only runs on main deploy 2023-03-25 17:42:05 +00:00
Will Webberley
673cfd19ad Include purge 2023-03-25 17:39:56 +00:00
Will Webberley
c50ce8abde Include purge step 2023-03-25 17:39:22 +00:00
Will Webberley
3077bbb16d Explicitly load secrets
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:36:56 +00:00
Will Webberley
7a7b094428 Echo token
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:35:35 +00:00
Will Webberley
d1e3670a5f Check a cat
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:33:13 +00:00
Will Webberley
45c4969335 Another try
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:32:03 +00:00
Will Webberley
d4cacf7d91 Specify the config file
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:28:10 +00:00
Will Webberley
c981bbd205 Another attempt
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:26:25 +00:00
Will Webberley
aa3f968182 Update to s3cmd config
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:22:53 +00:00
Will Webberley
6c9612bd4c Update s3cmd config
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:21:26 +00:00
Will Webberley
c4db8a3954 Fixed typo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:14:36 +00:00
Will Webberley
117f00eb1e Update depoloy stage
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 17:13:36 +00:00
Will Webberley
dda5c8bfb8 Add deploy stage
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 16:58:17 +00:00
Will Webberley
139160d45a Alpine step
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-25 16:56:43 +00:00
Will Webberley
5afbbd867e Try and install s3cmd
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 16:53:59 +00:00
Will Webberley
ecf8cbb207 Update Hugo image
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-25 16:49:45 +00:00
Will Webberley
1e27155fad Fix pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-25 16:44:31 +00:00
Will Webberley
b1d8d043a0 Trying woodpecker 2023-03-25 16:41:57 +00:00
Will Webberley
a89fb05ce6 Add an action
Some checks failed
Explore-Gitea-Actions
2023-03-25 16:04:28 +00:00

16
.woodpecker.yml Normal file
View 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'