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