Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- .woodpecker.yaml: image paths -> library/autojanet-{agent,dispatcher}
- .woodpecker.yaml: secret names RS_HARBOR_USER / RS_HARBOR_PASS (global)
- container/Dockerfile: restore COPY skills/, skills/ populated from opencode config
- skills/: 84 opencode skills bundled into image
- k8s/manifests: update image refs to library/
19 lines
374 B
Bash
19 lines
374 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Default commit message if none provided
|
|
MESSAGE="${1:-chore: update code}"
|
|
|
|
# Add all changes
|
|
git add .
|
|
|
|
# Commit with the provided message
|
|
git commit -m "$MESSAGE"
|
|
|
|
# Get current branch name
|
|
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
|
|
# Push to remote, setting upstream if needed
|
|
git push -u origin "$BRANCH"
|
|
|
|
echo "✅ Successfully pushed to $BRANCH"
|