fix variable interpolation system
This commit is contained in:
parent
2bb0f63d2c
commit
82c937215a
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
- event: cron
|
- event: cron
|
||||||
- event: manual
|
- event: manual
|
||||||
update-$PACKAGE:
|
update-${PACCKAGE}:
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /etc/nix
|
- mkdir -p /etc/nix
|
||||||
|
@ -34,7 +34,7 @@ pipeline:
|
||||||
- mkdir -p /tmp2
|
- mkdir -p /tmp2
|
||||||
- chmod 1777 /tmp2
|
- chmod 1777 /tmp2
|
||||||
- export TMPDIR=/tmp2
|
- export TMPDIR=/tmp2
|
||||||
- yes '' | nix-shell ./scripts/update.nix --argstr path $PACKAGE
|
- yes '' | nix-shell ./scripts/update.nix --argstr path ${PACCKAGE}
|
||||||
when:
|
when:
|
||||||
- event: cron
|
- event: cron
|
||||||
- event: manual
|
- event: manual
|
||||||
|
@ -63,7 +63,7 @@ pipeline:
|
||||||
- git config --global "commit.gpgSign" "true"
|
- git config --global "commit.gpgSign" "true"
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -am "Update flake"
|
- git commit -am "Update flake"
|
||||||
- git push --force origin main:update-$PACKAGE
|
- git push --force origin main:update-${PACCKAGE}
|
||||||
secrets:
|
secrets:
|
||||||
- gpg_key
|
- gpg_key
|
||||||
- ssh_key
|
- ssh_key
|
||||||
|
@ -74,7 +74,7 @@ pipeline:
|
||||||
image: nixery.dev/shell/curl
|
image: nixery.dev/shell/curl
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-$PACKAGE", "title": "Update flake", "body": "" }' | curl -X POST -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- "https://git.chir.rs/api/v1/repos/$CI_REPO_OWNER/$CI_REPO_NAME/pulls"
|
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-${PACCKAGE}", "title": "Update flake", "body": "" }' | curl -X POST -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- "https://git.chir.rs/api/v1/repos/$CI_REPO_OWNER/$CI_REPO_NAME/pulls"
|
||||||
secrets:
|
secrets:
|
||||||
- gitea_token
|
- gitea_token
|
||||||
when:
|
when:
|
||||||
|
|
Reference in a new issue