mirror of
https://github.com/GeoffreyFrogeye/fringer-cursors.git
synced 2025-09-05 14:00:23 +02:00
only move when the directories exist
This commit is contained in:
parent
9c33e67588
commit
1cdb9a6097
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -23,8 +23,8 @@ jobs:
|
||||||
- name: Update assets
|
- name: Update assets
|
||||||
run: |
|
run: |
|
||||||
rm -rf assets
|
rm -rf assets
|
||||||
mv ${{ steps.figma_cursor_theme.outputs.export_directory }} assets
|
[ -f ${{ steps.figma_cursor_theme.outputs.export_directory }} ] && mv ${{ steps.figma_cursor_theme.outputs.export_directory }} assets
|
||||||
mv ${{ steps.figma_cursor_theme.outputs.svg_directory }} assets/svg
|
[ -f ${{ steps.figma_cursor_theme.outputs.svg_directory }} ] && mv ${{ steps.figma_cursor_theme.outputs.svg_directory }} assets/svg
|
||||||
|
|
||||||
- name: Push updated assets
|
- name: Push updated assets
|
||||||
uses: EndBug/add-and-commit@v7
|
uses: EndBug/add-and-commit@v7
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue