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!
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819
  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. export FAVICON_URL=https://adared.ch/wp-content/uploads/2017/04/cropped-adared_favicon-192x192.png && \
  10. export GITEA_IMG=/usr/local/share/gitea/public/img && \
  11. fetch $LOGO_URL -o logo.png && \
  12. fetch $FAVICON_URL -o $GITEA_IMG/favicon.png && \
  13. python3.7 /tmp/resize.py logo.png && \
  14. mv -v gitea-*.png $GITEA_IMG/ && \
  15. rm -v logo.png && \
  16. rm -v /tmp/resize.py && \
  17. ASSUME_ALWAYS_YES=yes pkg remove py37-pillow && \
  18. ASSUME_ALWAYS_YES=yes pkg autoremove