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
|
||||
commands:
|
||||
- git clone https://dmoonfire:$GITEA_TOKEN@src.mfgames.com/$DRONE_REPO.git .
|
||||
- git pull --tags
|
||||
- git checkout $DRONE_COMMIT
|
||||
- git checkout $DRONE_BRANCH
|
||||
- git reset --hard $DRONE_COMMIT
|
||||
secrets:
|
||||
- gitea_token
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue