Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 24, 2024
1 parent c96c346 commit a490385
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/copy-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,18 @@ jobs:
git config --global user.name "zeta-icons-bot"
git config --global user.email "[email protected]"
git add -A
- name: Check if there are changes
id: changed
run: |
cd destination
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
- run: cd destination; git diff
# - name: Check if there are changes
# id: changed
# run: |
# cd destination
# git diff
# git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT

- name: Commit and push changes
if: steps.changed.outputs.changed == 'true'
# if: steps.changed.outputs.changed == 'true'
run: |
cd destination
git commit -m "deps(automated): ${{inputs.commit_msg}} ${{ steps.date.outputs.date }}"
git push --set-upstream origin ${{inputs.branch}} -f
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_zds_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
repo: ZebraDevs/zds-android
branch: "update-zeta-icons"
source_dir: "./outputs/android/."
source_dir: "outputs/android"
destination_dir: "components/src/main/res/drawable"
commit_msg: "Update icons"
prerun: rm -f components/src/main/res/drawable/ic_*.xml

0 comments on commit a490385

Please sign in to comment.