fix: kompose workflow
This commit is contained in:
43
.claude.json
43
.claude.json
File diff suppressed because one or more lines are too long
@@ -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: |
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user