Skip to content

Commit

Permalink
delete icons
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Aug 15, 2024
1 parent 5e8f92d commit fdcdb73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/import-figma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
run: pnpm run build
working-directory: packages/figma-utils

# delete all icons before importing them so no longer existing or renamed icons are removed
- name: Clear icons
run: rm -rfv src/assets/*
working-directory: packages/icons

- name: Import icons
run: |
pnpm run @sit-onyx/figma-utils import-icons -k "${{ vars.FIGMA_FILE_KEY }}" -t "${{ secrets.FIGMA_TOKEN }}" -p "${{ vars.FIGMA_ICON_PAGE_ID }}" -d "../icons/src/assets" -m "../icons/src/metadata.json"
Expand Down

0 comments on commit fdcdb73

Please sign in to comment.