2024-04-30 19:51:10 +00:00
|
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
|
|
blog-pim:
|
|
|
|
runs-on: docker
|
|
|
|
container:
|
|
|
|
image: git.kun.is/home/forgejo-nix-action:687d16c49ea7936068bac64ec68c480a9d681962
|
2024-04-30 19:59:43 +00:00
|
|
|
env:
|
2024-04-30 20:11:55 +00:00
|
|
|
GIT_COMMITTER_NAME: Forgejo Action
|
|
|
|
GIT_COMMITTER_EMAIL: noreply@git.kun.is
|
2024-04-30 20:12:53 +00:00
|
|
|
GIT_AUTHOR_NAME: Forgejo Action
|
|
|
|
GIT_AUTHOR_EMAIL: noreply@git.kun.is
|
2024-04-30 19:51:10 +00:00
|
|
|
steps:
|
|
|
|
- name: Clone container-images repository
|
2024-04-30 20:22:30 +00:00
|
|
|
run: git clone https://${{ secrets.RUNNER_TOKEN }}@${GITHUB_SERVER_URL#https://}/home/container-images.git container-images
|
2024-04-30 19:51:10 +00:00
|
|
|
- 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: |
|
2024-04-30 19:53:26 +00:00
|
|
|
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
|