Use gitea_release in drone when tagging artifact
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
4722ec3a4f
commit
a78d1535c7
13
.drone.yml
13
.drone.yml
@ -1,8 +1,17 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: gcc
|
||||
image: gcc:4.9
|
||||
commands:
|
||||
- make clean
|
||||
- make
|
||||
- make install
|
||||
|
||||
gitea_release:
|
||||
image: plugins/gitea-release
|
||||
base_url: https://git.wicak.co
|
||||
secrets: [ gitea_token ]
|
||||
files: bin/*
|
||||
checksum:
|
||||
- sha1
|
||||
- sha256
|
||||
when:
|
||||
event: tag
|
||||
|
||||
@ -3,6 +3,6 @@ using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
cout << "Hello, Arif!";
|
||||
cout << "Hello, PR#2!";
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user