From b8891b240f424c4555f0c942bf4038d5b51fabb2 Mon Sep 17 00:00:00 2001 From: jmfrancois Date: Mon, 15 May 2023 14:01:31 +0200 Subject: [PATCH] Revert "chore(CI): deactivate netlify" This reverts commit 7b62a8ae487ad57ee6185ce7f22ebe45b5f3d814. --- .github/workflows/pr-demo.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-demo.yml b/.github/workflows/pr-demo.yml index f0e149200e3..9e8a3b5f87c 100644 --- a/.github/workflows/pr-demo.yml +++ b/.github/workflows/pr-demo.yml @@ -62,14 +62,14 @@ jobs: SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} - # - name: Deploy to Netlify production - # if: github.ref == 'refs/heads/master' - # uses: netlify/actions/cli@master - # with: - # args: deploy --prod --dir=packages/storybook/storybook-static - # env: - # NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - # NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + - name: Deploy to Netlify production + if: github.ref == 'refs/heads/master' + uses: netlify/actions/cli@master + with: + args: deploy --prod --dir=packages/storybook/storybook-static + env: + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - name: deploy if PR