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 692f435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/copy-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,20 @@ jobs:
run: echo "date=$(date +'%d %b %Y, %H:%M:%S')" >> $GITHUB_OUTPUT

- name: Copy files
run: cp -r source/${{ inputs.source_dir }}/* destination/${{ inputs.destination_dir }}
# run: cp -r source/${{ inputs.source_dir }}/* destination/${{ inputs.destination_dir }}

- name: Stage destination changes
run: |
cd destination
git config --global user.name "zeta-icons-bot"
git config --global user.email "[email protected]"
git add -A
- 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
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 692f435

Please sign in to comment.