From 6f485f90e45b739f066c5d3a45fb19166cb2a49f Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Wed, 6 Sep 2023 13:09:39 +0200 Subject: [PATCH] ci: deployment fixes --- .github/workflows/release-package.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 300bd76..3faa314 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -33,9 +33,9 @@ jobs: - run: | pnpm install pnpm run build - - uses: actions/upload-artifact@v3 env: ASSET_URL: https://mortenolsen.pro/bob + - uses: actions/upload-artifact@v3 with: name: lib retention-days: 5 @@ -44,6 +44,12 @@ jobs: packages/*/package.json package.json README.md + - uses: actions/upload-artifact@v3 + with: + name: web + retention-days: 5 + path: | + packages/playground/dist update-release-draft: if: github.ref == 'refs/heads/main' needs: build @@ -70,17 +76,11 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: actions/download-artifact@v3 - with: - name: lib - path: ./ - name: Deploy to GitHub Pages - working-directory: ./packages/playground/dist id: deployment uses: actions/deploy-pages@v2 + with: + artifact_name: web release-npm: if: github.ref == 'refs/heads/main'