Skip to content

Commit

Permalink
Update Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea committed Nov 19, 2024
1 parent f04cadf commit 2e0f50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/update-design-tokens-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update design-tokens-stable
on:
push:
branches:
- master
- hpe-design-tokensv0.2.0
paths:
- design-tokens/**

Expand Down Expand Up @@ -36,12 +36,3 @@ jobs:
working-directory: design-tokens
env:
GH_TOKEN: ${{ secrets.GH_ACTION_ACCESS_TOKEN }}
# If stable is successfully update, push the same updates to Figma
- name: Sync tokens to Figma file
run: yarn sync-tokens-to-figma
working-directory: design-tokens
env:
FILE_KEY_PRIMITIVE: ${{ secrets.GH_ACTION_FIGMA_FILE_KEY_PRIMITIVE }}
FILE_KEY_SEMANTIC: ${{ secrets.GH_ACTION_FIGMA_FILE_KEY_SEMANTIC }}
FILE_KEY_COMPONENT: ${{ secrets.GH_ACTION_FIGMA_FILE_KEY_COMPONENT }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_ACTION_VARIABLES_SYNC_FIGMA_TOKEN }}
2 changes: 1 addition & 1 deletion design-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"sync-figma-to-tokens": "tsx src/scripts/sync_figma_to_tokens.ts",
"build-style-dictionary": "tsx src/scripts/build-style-dictionary.js",
"build": "rm -rf ./dist && yarn build-style-dictionary",
"release-stable": "node src/scripts/release-stable.js --branch=design-tokens-stable",
"release-stable": "node src/scripts/release-stable.js --branch=hpe-design-tokensv0.2.0-stable",
"paddingY:verify": "tsx src/scripts/verify-paddingY.ts",
"paddingY:update": "tsx src/scripts/update-paddingY.ts",
"test": "jest"
Expand Down

0 comments on commit 2e0f50d

Please sign in to comment.