commit e11dd6de29e7b08cde826e5b4eecf502166df943 parent de964eabf2413114bb9de84c7581111b619db450 Author: MTRNord <mtrnord1@gmail.com> Date: Thu, 20 Apr 2023 23:26:28 +0200 chore: simplify CI Diffstat:
| M | .github/workflows/deploy.yaml | | | 7 | +++---- |
| D | .github/workflows/storybook.yaml | | | 27 | --------------------------- |
2 files changed, 3 insertions(+), 31 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml @@ -18,10 +18,9 @@ jobs: run: | # Install npm packages and build the Storybook files npm install npm run build + npm run build-storybook -- --disable-telemetry -o dist/storybook - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4.4.1 with: folder: dist # The folder that the build-storybook script generates files. - clean: true # Automatically remove deleted files from the deploy branch - clean-exclude: | - storybook/**/* -\ No newline at end of file + clean: true # Automatically remove deleted files from the deploy branch +\ No newline at end of file diff --git a/.github/workflows/storybook.yaml b/.github/workflows/storybook.yaml @@ -1,26 +0,0 @@ -name: Build and Publish storybook to GitHub Pages - -on: - push: - branches: - - "main" -jobs: - deploy-storybook: - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v3.5.2 - with: - persist-credentials: false - - name: Install and Build 🔧 - run: | # Install npm packages and build the Storybook files - npm install - npm run build-storybook - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.4.1 - with: - folder: storybook-static # The folder that the build-storybook script generates files. - clean: true # Automatically remove deleted files from the deploy branch - target-folder: storybook # The folder that we serve our Storybook files from -\ No newline at end of file