Fediversity/.woodpecker/update.yaml

22 lines
717 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
commands:
- nix-shell --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