From bfeed9b0ef64f423bd0ad56f584402e1c5611781 Mon Sep 17 00:00:00 2001 From: wh1t3h47 Date: Wed, 11 Sep 2024 21:07:25 -0300 Subject: [PATCH] infra: Fix github CI/CD artifact :octocat: --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2a4c23..5e5b760 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,9 +24,12 @@ jobs: - name: Build application run: yarn build --outDir dist + - name: Setup Pages + if: github.ref == 'refs/heads/main' + uses: actions/configure-pages@v3 # At a minimum this job should upload artifacts using actions/upload-artifact - name: Upload Artifact Build - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: github-pages path: dist