diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90099605..5ca9686a 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 0e339c97..665e19b2 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