Skip to content

Commit

Permalink
chore(workflow): trigger deploy site after build
Browse files Browse the repository at this point in the history
  • Loading branch information
gcornut committed Sep 3, 2024
1 parent 3ea864c commit 758ea8a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ jobs:
projectToken: ${{ secrets.CHROMATIC_TOKEN }}
buildScriptName: build:storybook

build_demo_site:
name: "Build & push demo site"
deploy_demo_site:
name: "Deploy demo site"
needs: [build_publish_NPM]
timeout-minutes: 30
runs-on: ubuntu-latest
Expand Down Expand Up @@ -157,6 +157,11 @@ jobs:
cache-from: type=gha, scope=${{ github.workflow }}
cache-to: type=gha, scope=${{ github.workflow }}, mode=max

- name: "Deploy site"
env:
GH_TOKEN: ${{ secrets.GITBOT_TOKEN }}
run: gh workflow run -R lumapps/design-system-deployment update-lumx-version.yml

create_gh_release:
name: "Create release note"
needs: [build_publish_NPM]
Expand Down

0 comments on commit 758ea8a

Please sign in to comment.