diff --git a/.woodpecker/update.yaml b/.woodpecker/update.yaml index 14f78b9..fdbc46e 100644 --- a/.woodpecker/update.yaml +++ b/.woodpecker/update.yaml @@ -9,7 +9,7 @@ pipeline: when: - event: cron - event: manual - update-${PACCKAGE}: + update-${PACKAGE}: image: nixos/nix commands: - mkdir -p /etc/nix @@ -34,7 +34,7 @@ pipeline: - mkdir -p /tmp2 - chmod 1777 /tmp2 - export TMPDIR=/tmp2 - - yes '' | nix-shell ./scripts/update.nix --argstr path ${PACCKAGE} + - yes '' | nix-shell ./scripts/update.nix --argstr path ${PACKAGE} when: - event: cron - event: manual @@ -63,7 +63,7 @@ pipeline: - git config --global "commit.gpgSign" "true" - git add . - git commit -am "Update flake" - - git push --force origin main:update-${PACCKAGE} + - git push --force origin main:update-${PACKAGE} secrets: - gpg_key - ssh_key @@ -74,7 +74,7 @@ pipeline: image: nixery.dev/shell/curl commands: - | - 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" + 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" secrets: - gitea_token when: