fix: kompose workflow

This commit is contained in:
2025-10-11 12:40:09 +02:00
parent 31936a9a95
commit b7d0f13838
4 changed files with 31 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@@ -8,13 +8,10 @@ on:
paths:
- 'Projects/kompose/**'
env:
SYNC_TARGET: ssh://git@host.docker.internal:2222/valknar/kompose.git
jobs:
build:
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, '#bot-message:') }}
steps:
- uses: actions/checkout@v4
with:
@@ -27,7 +24,7 @@ jobs:
- name: Commit and push changes (if any)
shell: bash
env:
CI_COMMIT_MESSAGE: "repo: update kompose"
CI_COMMIT_MESSAGE: "${{ replace(github.event.head_commit.message, '#bot-message:') }}"
CI_COMMIT_AUTHOR: technitz[bot]@valknar/kompose
CI_COMMIT_EMAIL: admin@pivoine.art
run: |

View File

@@ -3,8 +3,9 @@
alias ri='source ~/.init/init.sh'
# git
alias g1='git reset $(git commit-tree "HEAD^{tree}" -m "A new start")'
alias g0='git add . && git diff --quiet && git diff --cached --quiet'
alias g1='git reset $(git commit-tree "HEAD^{tree}" -m "A new start")'
alias g2='git log --format=%B -n 1 HEAD | head -n 1'
# rsync
alias rs='rsync --rsync-path="sudo rsync" -avzhe ssh'

View File

@@ -18,6 +18,6 @@ else
# No changes
echo "NO CHANGES in ${CURRENT_PROJECT} - Aborting..."
git reset
echo "no changes to latest posts"
echo "EXIT"
exit 0
fi