ci: use DRONE_BRANCH and DRONE_COMMIT
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
D. Moonfire 2023-07-23 12:34:06 -05:00
parent 44a5c85ec2
commit f0057cc151

View file

@ -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: