From c759d9475838dbeefece5a44c91759768bb7d083 Mon Sep 17 00:00:00 2001 From: KeisukeYamashita <19yamashita15@gmail.com> Date: Fri, 1 Nov 2024 06:43:04 +0100 Subject: [PATCH] ci: revert artifact upload Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> --- .github/workflows/ci_web.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci_web.yml b/.github/workflows/ci_web.yml index 35e390dc34..17208e516d 100644 --- a/.github/workflows/ci_web.yml +++ b/.github/workflows/ci_web.yml @@ -29,3 +29,13 @@ jobs: run: yarn i18n --fail-on-update - name: Build run: yarn build + - name: Pack + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' + run: mv dist reearth-cms-web && tar -zcvf reearth-cms-web.tar.gz reearth-cms-web + + - uses: actions/upload-artifact@v4 + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' + with: + name: reearth-cms-web + path: web/reearth-cms-web.tar.gz + if-no-files-found: error \ No newline at end of file