mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-19 06:35:10 +00:00
Fix update example.env job
This commit is contained in:
parent
e772614c35
commit
59db4182e6
1 changed files with 10 additions and 7 deletions
17
.github/workflows/build_stable.yml
vendored
17
.github/workflows/build_stable.yml
vendored
|
|
@ -70,19 +70,22 @@ jobs:
|
|||
- name: Get latest versions
|
||||
run: python3 ./.github/scripts/get_latest_tags.py --repo erpnext --version 13
|
||||
|
||||
- name: Update example.env
|
||||
- name: Update
|
||||
run: python3 ./.github/scripts/update_example_env.py
|
||||
|
||||
- name: Setup Git Credentials
|
||||
- name: Push
|
||||
run: |
|
||||
git config --global user.name github-actions
|
||||
git config --global user.email github-actions@github.com
|
||||
|
||||
- name: Commit and push
|
||||
run: |
|
||||
git add example.env
|
||||
git commit -m "chore: Update `example.env`"
|
||||
git push origin main
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
echo "example.env did not change, exiting."
|
||||
exit 0
|
||||
else
|
||||
echo "example.env changed, pushing changes..."
|
||||
git commit -m "chore: Update example.env"
|
||||
git push origin main
|
||||
fi
|
||||
|
||||
release_helm:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue