Skip to content

chore(deps): update dependency wrangler to v3.78.2 #1832

chore(deps): update dependency wrangler to v3.78.2

chore(deps): update dependency wrangler to v3.78.2 #1832

Workflow file for this run

name: Deploy to staging
on:
pull_request:
branches:
- main
permissions:
contents: read
deployments: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
outputs:
url: ${{ steps.page.outputs.deployment-url }}
steps:
- name: Setup | Comment deploy start
uses: mshick/[email protected]
with:
message-id: dev-deploy
message: |
### <span aria-hidden="true">🚧</span> Deploy Preview building...
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">πŸ”¨</span> Latest commit | ${{ github.sha }} |
|<span aria-hidden="true">πŸ”</span> Latest deploy log | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
---
- uses: actions/[email protected]
- name: Setup | Node.js
uses: re-taro/actions/[email protected]
with:
node-version-file: .tool-versions
- name: Deploy | Build
run: pnpm build
- name: Deploy | Deploy to Cloudflare Pages
id: page
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy --project-name blog --directory dist
- name: PostDeploy | Comment deploy url
uses: mshick/[email protected]
with:
message-id: cloudflare-deploy
message: |
### <span aria-hidden="true">βœ…</span> Deploy Preview ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">πŸ”¨</span> Latest commit | ${{ github.sha }} |
|<span aria-hidden="true">πŸ”</span> Latest deploy log | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
|<span aria-hidden="true">😎</span> Deploy Preview Url | [${{ steps.page.outputs.deployment-url }}](${{ steps.page.outputs.deployment-url }}) |
---
lighthouse:
needs: publish
uses: ./.github/workflows/lighthouse.yml
with:
url: ${{ needs.publish.outputs.url }}
secrets: inherit