update ci script
This commit is contained in:
parent
e256aab579
commit
2a0a2bc71c
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ steps:
|
|||
echo "File already exists, deleting it"
|
||||
curl --user "$gitea_user:$DOCKER_PASSWORD" -X DELETE "$package_link"
|
||||
fi
|
||||
- curl --user "$gitea_user:$DOCKER_PASSWORD" --upload-file ".pio/build/attiny25/firmware.hex" $package_link
|
||||
- curl --user "$gitea_user:$DOCKER_PASSWORD" --upload-file ".pio/build/ATtiny212/firmware.hex" $package_link
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
|
@ -43,7 +43,7 @@ steps:
|
|||
image: archlinux
|
||||
commands:
|
||||
- pacman -Syu --noconfirm curl
|
||||
- download_url=$(curl --upload-file ".pio/build/attiny25/firmware.hex" "https://transfer.jonasled.de")
|
||||
- download_url=$(curl --upload-file ".pio/build/ATtiny212/firmware.hex" "https://transfer.jonasled.de")
|
||||
- echo "download_url=$download_url" >> .env
|
||||
- 'echo "Download URL: $download_url" > comment.txt'
|
||||
when:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue