Skip to content

Commit e9def49

Browse files
committed
test: append timestamp to push-test.txt
1 parent 19ed230 commit e9def49

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.github/workflows/generate-template.yaml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,24 @@ jobs:
5151
run: |
5252
rsync -a --delete --exclude='.git' ./example-template/ ./{{cookiecutter.app_name}}/
5353
54-
- name: Commit and push changes
55-
id: commit
54+
# - name: Commit and push changes
55+
# id: commit
56+
# run: |
57+
# git add .
58+
# if git diff --cached --quiet; then
59+
# echo "no_changes=true" >> $GITHUB_OUTPUT
60+
# echo "✅ No changes detected."
61+
# else
62+
# git commit -m "ci: update generated cookiecutter template from example"
63+
# git push origin generated-template
64+
# echo "no_changes=false" >> $GITHUB_OUTPUT
65+
# fi
66+
- name: Append timestamp
5667
run: |
57-
git add .
58-
if git diff --cached --quiet; then
59-
echo "no_changes=true" >> $GITHUB_OUTPUT
60-
echo "✅ No changes detected."
61-
else
62-
git commit -m "ci: update generated cookiecutter template from example"
63-
git push origin generated-template
64-
echo "no_changes=false" >> $GITHUB_OUTPUT
65-
fi
68+
echo "Updated at $(date -u)" >> push-test.txt
69+
git add push-test.txt
70+
git commit -m "test: append timestamp"
71+
git push origin generated-template
6672
6773
- name: Show local and remote commits
6874
run: |

0 commit comments

Comments
 (0)