From de20331f3d9e50a7e22ed4eed56c80d612f5bc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Tue, 20 Feb 2024 04:01:17 +0900 Subject: [PATCH] chore: debug cd --- .github/workflows/build.yml | 11 +++++++++++ .github/workflows/cloudflare-deploy.yml | 1 + 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9009960..5ca9686 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,3 +20,14 @@ jobs: run: | yarn yarn build + + - name: Copy files excluding .gitignore + run: | + mkdir preserved + rsync -av --progress . preserved --exclude-from='.gitignore' + + - name: Upload preserved directory + uses: actions/upload-artifact@v4 + with: + name: build-artifacts + path: preserved \ No newline at end of file diff --git a/.github/workflows/cloudflare-deploy.yml b/.github/workflows/cloudflare-deploy.yml index 0e339c9..665e19b 100644 --- a/.github/workflows/cloudflare-deploy.yml +++ b/.github/workflows/cloudflare-deploy.yml @@ -24,6 +24,7 @@ jobs: echo "::set-output name=skip::false" fi shell: bash + - name: Deploy to Cloudflare if: steps.check_token.outputs.skip != 'true' uses: ubiquity/cloudflare-deploy-action@main