Fediversity/.woodpecker/update.yaml
Kiara Grouwstra 8cd6b5df5d
Some checks failed
ci/woodpecker/manual/check-mastodon Pipeline failed
ci/woodpecker/manual/check-data-model Pipeline failed
ci/woodpecker/manual/cd Pipeline failed
ci/woodpecker/manual/update Pipeline failed
less verbose
2025-08-04 21:41:27 +02:00

27 lines
912 B
YAML

$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when:
- event: manual
# - event: cron
# cron: updater
steps:
- name: lockfile
image: nixos/nix
volumes:
- /nix:/mnt/nix:ro
commands:
- pwd
- ls
- nix-shell -vvv --eval-store local --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt --store file:///nix/store --run "npins --verbose update"
# - name: Create PR
# uses: https://github.com/KiaraGrouwstra/gitea-create-pull-request@f9f80aa5134bc5c03c38f5aaa95053492885b397
# with:
# remote-instance-api-version: v1
# token: "$DEPLOY_KEY"
# branch: npins-update
# commit-message: "npins: update sources"
# title: "npins: update sources"
environment:
DEPLOY_KEY:
from_secret: deploy_key