ci(drone): move secrets down
This commit is contained in:
parent
a3d8ed8025
commit
eebd9b0657
1 changed files with 3 additions and 7 deletions
10
.drone.yml
10
.drone.yml
|
@ -1,13 +1,6 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
environment:
|
|
||||||
DRONE_GIT_USERNAME: x-oauth-token
|
|
||||||
DRONE_GIT_PASSWORD:
|
|
||||||
from_secret: GITEA_TOKEN
|
|
||||||
GITEA_TOKEN:
|
|
||||||
from_secret: GITEA_TOKEN
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
|
@ -21,3 +14,6 @@ steps:
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
commands:
|
||||||
- nix develop --command scripts/release.sh
|
- nix develop --command scripts/release.sh
|
||||||
|
environment:
|
||||||
|
GITEA_TOKEN:
|
||||||
|
from_secret: GITEA_TOKEN
|
||||||
|
|
Loading…
Reference in a new issue