This commit is contained in:
parent
b6d43477a4
commit
93fa8e68a1
1 changed files with 2 additions and 4 deletions
|
@ -13,9 +13,7 @@ steps:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea-token
|
from_secret: gitea-token
|
||||||
commands:
|
commands:
|
||||||
- echo $GITEA_USER
|
- curl --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/Cargo.toml https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/Cargo.toml
|
||||||
- echo $${GITEA_USER}
|
|
||||||
- curl --user $${GITEA_USER}:$${GITEA_TOKEN} --upload-file receiver/Cargo.toml https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${DRONE_COMMIT_SHA}/Cargo.toml
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
environment:
|
environment:
|
||||||
|
@ -33,7 +31,7 @@ steps:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea-token
|
from_secret: gitea-token
|
||||||
commands:
|
commands:
|
||||||
- curl --user $${GITEA_USER}:$${GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${DRONE_COMMIT_SHA}/receiver-windows.exe
|
- curl --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/receiver-windows.exe
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
Loading…
Reference in a new issue