ci: use DRONE_BRANCH and DRONE_COMMIT
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
44a5c85ec2
commit
f0057cc151
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ pipeline:
|
||||||
image: nixpkgs/nix-flakes
|
image: nixpkgs/nix-flakes
|
||||||
commands:
|
commands:
|
||||||
- git clone https://dmoonfire:$GITEA_TOKEN@src.mfgames.com/$DRONE_REPO.git .
|
- git clone https://dmoonfire:$GITEA_TOKEN@src.mfgames.com/$DRONE_REPO.git .
|
||||||
- git pull --tags
|
- git checkout $DRONE_BRANCH
|
||||||
- git checkout $DRONE_COMMIT
|
- git reset --hard $DRONE_COMMIT
|
||||||
secrets:
|
secrets:
|
||||||
- gitea_token
|
- gitea_token
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue