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:
|
paths:
|
||||||
- 'Projects/kompose/**'
|
- 'Projects/kompose/**'
|
||||||
|
|
||||||
env:
|
|
||||||
SYNC_TARGET: ssh://git@host.docker.internal:2222/valknar/kompose.git
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ contains(github.event.head_commit.message, '#bot-message:') }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -27,7 +24,7 @@ jobs:
|
|||||||
- name: Commit and push changes (if any)
|
- name: Commit and push changes (if any)
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
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_AUTHOR: technitz[bot]@valknar/kompose
|
||||||
CI_COMMIT_EMAIL: admin@pivoine.art
|
CI_COMMIT_EMAIL: admin@pivoine.art
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -3,8 +3,9 @@
|
|||||||
alias ri='source ~/.init/init.sh'
|
alias ri='source ~/.init/init.sh'
|
||||||
|
|
||||||
# git
|
# 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 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
|
# rsync
|
||||||
alias rs='rsync --rsync-path="sudo rsync" -avzhe ssh'
|
alias rs='rsync --rsync-path="sudo rsync" -avzhe ssh'
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ else
|
|||||||
# No changes
|
# No changes
|
||||||
echo "NO CHANGES in ${CURRENT_PROJECT} - Aborting..."
|
echo "NO CHANGES in ${CURRENT_PROJECT} - Aborting..."
|
||||||
git reset
|
git reset
|
||||||
echo "no changes to latest posts"
|
echo "EXIT"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user