Fix generate pic (#383)

* Add docker for genpic run

* Add docker for genpic run

* Test genpic

* Test genpic

* Restore prod CI settings

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
rusdacent 2021-03-18 14:26:02 +03:00 committed by GitHub
parent 5eba573f43
commit 799bc89870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,9 @@ jobs:
- name: Test output PREP_DATE
run: echo $PREP_DATE
- name: Gen pic
run: convert ./.github/assets/latest-firmware-template.png -font ./.github/assets/Born2bSportyV2.ttf -weight 700 -pointsize 140 -annotate +900+330 "$NUMBER_OF_COMMITS $PREP_DATE" latest-firmware-banner.png
uses: ./.github/actions/docker
with:
run: convert ./.github/assets/latest-firmware-template.png -font ./.github/assets/Born2bSportyV2.ttf -weight 700 -pointsize 140 -annotate +900+330 "$NUMBER_OF_COMMITS $PREP_DATE" latest-firmware-banner.png
- name: Upload pic
uses: burnett01/rsync-deployments@4.1
with: