Compare commits

..

No commits in common. "07b52df9a38618886246d046c259e26770209a1a" and "df568d28ecbc9e2f82974dc67f23e26d5ee8b08f" have entirely different histories.

View File

@ -1,16 +0,0 @@
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'