diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index d8efbda..a10689a 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -23,6 +23,14 @@ jobs: id: marker run: echo "version=$(date +'%Y.%m.%d')-${{ github.run_number }}" >> $GITHUB_OUTPUT + - name: Summary output + run: | + { + echo "| Info | Value |" + echo "| :--- | :---- |" + echo "| Version | ${{ steps.marker.outputs.version }} |" + } >> $GITHUB_STEP_SUMMARY + build-backend: name: Build backend runs-on: ubuntu-latest @@ -175,14 +183,14 @@ jobs: publish-profile: ${{ secrets.PUBLISH_PROFILE_API }} - name: Publish to Cloudflare Pages - uses: cloudflare/pages-action@v1 + uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_KEY }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: ${{ vars.CLOUDFLARE_PROJECT_NAME }} - gitHubToken: ${{ secrets.GITHUB_TOKEN }} - directory: artifacts/web wranglerVersion: "latest" + command: > + pages deploy artifacts/web + --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} - name: Tag and draft release note uses: ncipollo/release-action@v1