IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
579B

  1. base: gitea-latest
  2. steps:
  3. - copy:
  4. - [ files/resize.py,
  5. /tmp/resize.py ]
  6. - run: |
  7. ASSUME_ALWAYS_YES=yes pkg install py37-pillow && \
  8. export LOGO_URL=https://adared.ch/wp-content/uploads/2017/04/adared_logo_20170403-2.png && \
  9. fetch $LOGO_URL -o logo.png && \
  10. python3.7 /tmp/resize.py logo.png && \
  11. mv -v gitea-*.png /usr/local/share/gitea/public/img/ && \
  12. rm -v logo.png && \
  13. rm -v /tmp/resize.py && \
  14. ASSUME_ALWAYS_YES=yes pkg remove py37-pillow && \
  15. ASSUME_ALWAYS_YES=yes pkg autoremove