Declare secret in build file
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2024-12-30 22:07:14 -07:00
parent ad9d6d777d
commit 4241585b61
Signed by: fnmain
GPG key ID: B67D7410F33A0F61

View file

@ -16,6 +16,7 @@ steps:
- find dist/ -name "*.map" -o -name "*.js" -o -name "*.ico" -o -name "*.css" -o -name "*.html" -o -name "*.svg" -o -name "*.pdf" | parallel brotli - find dist/ -name "*.map" -o -name "*.js" -o -name "*.ico" -o -name "*.css" -o -name "*.html" -o -name "*.svg" -o -name "*.pdf" | parallel brotli
- rm -rf /var/woodpecker/journal/index.* /var/woodpecker/journal/favicon.* /var/woodpecker/journal/logo-z.* /var/woodpecker/journal/webclip.* /var/woodpecker/journal/images /var/woodpecker/journal/fonts - rm -rf /var/woodpecker/journal/index.* /var/woodpecker/journal/favicon.* /var/woodpecker/journal/logo-z.* /var/woodpecker/journal/webclip.* /var/woodpecker/journal/images /var/woodpecker/journal/fonts
- mv dist/* /var/woodpecker/journal/ - mv dist/* /var/woodpecker/journal/
secrets: [ MEILI_KEY ]
volumes: volumes:
- /var/woodpecker:/var/woodpecker - /var/woodpecker:/var/woodpecker
- /usr/share/fonts:/usr/share/fonts - /usr/share/fonts:/usr/share/fonts