mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
ci: use git pull --rebase in helm-pages.yml to avoid push conflicts
This commit is contained in:
6
.github/workflows/helm-pages.yml
vendored
6
.github/workflows/helm-pages.yml
vendored
@@ -56,7 +56,8 @@ jobs:
|
||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
git add README.md
|
||||
git commit -m "Auto-update Helm chart documentation"
|
||||
git push
|
||||
git pull --rebase origin main
|
||||
git push origin main
|
||||
fi
|
||||
cd ../../..
|
||||
|
||||
@@ -100,7 +101,8 @@ jobs:
|
||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
git add deploy/helm/pulse/Chart.yaml
|
||||
git commit -m "Auto-update Helm chart version to $VERSION"
|
||||
git push
|
||||
git pull --rebase origin main
|
||||
git push origin main
|
||||
fi
|
||||
|
||||
- name: Validate Helm chart
|
||||
|
||||
Reference in New Issue
Block a user