blog-pim/.forgejo/workflows/push.yaml
Pim Kunis 5a565e4fea
Some checks failed
/ blog-pim (push) Failing after 9s
Debug git commits
2024-04-30 22:02:53 +02:00

20 lines
883 B
YAML

on: [ push ]
jobs:
blog-pim:
runs-on: docker
container:
image: git.kun.is/home/forgejo-nix-action:687d16c49ea7936068bac64ec68c480a9d681962
env:
GIT_AUTHOR_NAME: Forgejo Action
GIT_AUTHOR_EMAIL: noreply@git.kun.is
steps:
- run: env
- name: Clone container-images repository
run: git clone ${GITHUB_SERVER_URL}/home/container-images.git container-images
- name: Update Nix input on container-images
run: nix flake lock --update-input blog-pim ./container-images
- name: Push changes to container-images repo
run: |
git --git-dir container-images/.git --work-tree container-images add -A
git --git-dir container-images/.git --work-tree container-images commit --message "Bump blog-pim Nix flake input"
git --git-dir container-images/.git --work-tree container-images push