From 56aae6f6deaa03c8ac804aad26da329db41a0c44 Mon Sep 17 00:00:00 2001 From: Goto Hayato Date: Mon, 15 Apr 2024 15:16:24 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20Run=20`upload-artifact`=20?= =?UTF-8?q?on=20`push`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d9a8b19..d9de995 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,3 +24,9 @@ jobs: run: npm ci - name: Build run: npm run build + - name: Upload artifact if the event is push + if: github.event_name == "push" + uses: actions/upload-artifact@v4 + with: + name: dist + path: dist