From 2e0f50deec2afe51a24cedad71083e5e7191705f Mon Sep 17 00:00:00 2001 From: taysea Date: Tue, 19 Nov 2024 15:08:33 -0800 Subject: [PATCH] Update Github workflow --- .github/workflows/update-design-tokens-stable.yml | 11 +---------- design-tokens/package.json | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update-design-tokens-stable.yml b/.github/workflows/update-design-tokens-stable.yml index 58bbfeb7b..545ffda93 100644 --- a/.github/workflows/update-design-tokens-stable.yml +++ b/.github/workflows/update-design-tokens-stable.yml @@ -2,7 +2,7 @@ name: Update design-tokens-stable on: push: branches: - - master + - hpe-design-tokensv0.2.0 paths: - design-tokens/** @@ -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 }} diff --git a/design-tokens/package.json b/design-tokens/package.json index 014cccbb8..2d6c76e2c 100644 --- a/design-tokens/package.json +++ b/design-tokens/package.json @@ -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"