@@ -28,44 +28,43 @@ jobs:
2828 env :
2929 RELATIVE_CI_KEY : ${{ secrets.RELATIVE_CI_KEY }}
3030
31- # - name: wake up deploy notifier
32- # run: yarn wait-on https://sensenet-sn-deploy-notifier.glitch.me/ -l -t 300000 -i 10000
31+ - name : wake up deploy notifier
32+ run : yarn wait-on https://sensenet-sn-deploy-notifier.glitch.me/ -l -t 300000 -i 10000
3333
3434 - name : Publish
3535 run : npx netlify-cli@v2.41.0 deploy --dir=./apps/sensenet/build --message ${{ github.event.pull_request.number }}
3636 env :
3737 NETLIFY_SITE_ID : 94fb346c-b540-40f7-aaaf-21eee2a9c891
3838 NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
3939
40- # i have remve storybook implementation we will never us it.
41- # deploy-storybook:
42- # runs-on: ubuntu-latest
43- # steps:
44- # - uses: actions/checkout@v2
40+ deploy-storybook :
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v2
4544
46- # - uses: actions/cache@v4 # Updated from v1 to v4
47- # with:
48- # path: ~/.cache/yarn
49- # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
50- # restore-keys: |
51- # ${{ runner.os }}-yarn-
45+ - uses : actions/cache@v4 # Updated from v1 to v4
46+ with :
47+ path : ~/.cache/yarn
48+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
49+ restore-keys : |
50+ ${{ runner.os }}-yarn-
5251
53- # - name: install
54- # run: yarn install
55- # env:
56- # CYPRESS_INSTALL_BINARY: 0
52+ - name : install
53+ run : yarn install
54+ env :
55+ CYPRESS_INSTALL_BINARY : 0
5756
58- # - name: build
59- # run: yarn build
57+ - name : build
58+ run : yarn build
6059
61- # - name: build storybook
62- # run: yarn storybook build-storybook
60+ - name : build storybook
61+ run : yarn storybook build-storybook
6362
64- # - name: wake up deploy notifier
65- # run: yarn wait-on https://sensenet-sn-deploy-notifier.glitch.me/ -l -t 300000 -i 10000
63+ - name : wake up deploy notifier
64+ run : yarn wait-on https://sensenet-sn-deploy-notifier.glitch.me/ -l -t 300000 -i 10000
6665
67- # - name: Publish
68- # run: npx netlify-cli@v2.41.0 deploy --dir=./examples/sn-react-component-docs/storybook-static --message ${{ github.event.pull_request.number }}
69- # env:
70- # NETLIFY_SITE_ID: 1747b330-27d8-4ddd-bf74-39469c257010
71- # NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
66+ - name : Publish
67+ run : npx netlify-cli@v2.41.0 deploy --dir=./examples/sn-react-component-docs/storybook-static --message ${{ github.event.pull_request.number }}
68+ env :
69+ NETLIFY_SITE_ID : 1747b330-27d8-4ddd-bf74-39469c257010
70+ NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
0 commit comments