From 52f71ae78be8e102fa49ad6b57f56d03034f7bae Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Tue, 4 Jun 2024 16:59:34 +0300 Subject: [PATCH] ci: get all tags --- .github/workflows/deploy-storybook.yml | 27 ++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-storybook.yml b/.github/workflows/deploy-storybook.yml index 7ca9882..56bee05 100644 --- a/.github/workflows/deploy-storybook.yml +++ b/.github/workflows/deploy-storybook.yml @@ -12,16 +12,19 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 with: - node-version: "20.x" - - name: Install dependencies - run: npm ci - - name: Build storybook - run: npm run build:storybook - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: storybook-static - - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v4 + fetch-depth: 0 + - run: "git tag -l v*" + # - uses: actions/setup-node@v4 + # with: + # node-version: "20.x" + # - name: Install dependencies + # run: npm ci + # - name: Build storybook + # run: npm run build:storybook + # - name: Upload artifact + # uses: actions/upload-pages-artifact@v3 + # with: + # path: storybook-static + # - name: Deploy to GitHub Pages + # uses: actions/deploy-pages@v4