diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ccfcae7..b81d43e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -34,28 +34,12 @@ jobs: - name: Build run: npm run build - - name: Upload build artifact - uses: actions/upload-artifact@v4 - with: - name: resume-static - path: out/ - - release: - needs: build - runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' - steps: - - name: Download build artifact - uses: actions/download-artifact@v4 - with: - name: resume-static - path: out/ - - name: Create release zip - run: | - zip -r resume-latest.zip out/ + if: github.ref == 'refs/heads/main' + run: zip -r resume-latest.zip out/ - name: Create Release + if: github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v2 with: tag_name: latest