mirror of https://github.com/rancher/dashboard.git
Move env var to only be available to publish step (#13299)
This commit is contained in:
parent
f4dbc15885
commit
d10f36dbcc
|
|
@ -1,6 +1,4 @@
|
||||||
name: storybook
|
name: storybook
|
||||||
env:
|
|
||||||
STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }}
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
@ -24,4 +22,6 @@ jobs:
|
||||||
yarn build-storybook
|
yarn build-storybook
|
||||||
- name: Publish Storybook
|
- name: Publish Storybook
|
||||||
if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}}
|
if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}}
|
||||||
|
env:
|
||||||
|
STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }}
|
||||||
run: .github/workflows/scripts/publish-storybook
|
run: .github/workflows/scripts/publish-storybook
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue