Update push.yml
Showing
... | @@ -8,7 +8,8 @@ on: | ... | @@ -8,7 +8,8 @@ on: |
- package.json | - package.json | ||
jobs: | jobs: | ||
check_pr: | icon_automation: | ||
name: figma icon automation | |||
runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||
steps: | steps: | ||
- uses: actions/checkout@v1 | - uses: actions/checkout@v1 | ||
... | @@ -16,6 +17,14 @@ jobs: | ... | @@ -16,6 +17,14 @@ jobs: |
- name: "install" | - name: "install" | ||
run: yarn install | run: yarn install | ||
- name: Figma Action | |||
uses: primer/[email protected] | |||
with: | |||
args: "format=svg outputDir=./build/" | |||
env: | |||
FIGMA_FILE_URL: "https://www.figma.com/file/${{ secrets.FILE_KEY }}" | |||
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }} | |||
- name: "generate" | - name: "generate" | ||
run: yarn generate | run: yarn generate | ||
... | ... |
Please register or sign in to comment