Skip to content

chore(deps): update 5ouma/utils digest to 01bc4f0 (#148) #138

chore(deps): update 5ouma/utils digest to 01bc4f0 (#148)

chore(deps): update 5ouma/utils digest to 01bc4f0 (#148) #138

Workflow file for this run

name: πŸš€ Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
tagpr:
name: 🏷️ Release a New Version
permissions:
contents: write
pull-requests: write
runs-on: Ubuntu-Latest
outputs:
tag: ${{ steps.tagpr.outputs.tag }}
steps:
- name: 🚚 Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🏷️ Release a New Version
id: tagpr
uses: Songmu/tagpr@3dca11e7c0d68637ee212ddd35acc3d30a7403a4 # v1.5.0
with:
config: .github/tagpr.ini
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
deploy:
name: πŸš€ Deploy to the Production
permissions:
contents: read
deployments: write
needs: tagpr
if: ${{ needs.tagpr.outputs.tag != '' }}
runs-on: Ubuntu-Latest
steps:
- name: 🚚 Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🍞 Setup Bun with Cache
uses: 5ouma/utils/setup-bun-with-cache@01bc4f02a12f9e09bd95036e5b35a809ef2ddb5e # main
- name: πŸ‘Ύ Create a Meta File
run: echo '${{ vars.META_FILE }}' >meta.json
- name: πŸ› οΈ Build
run: bun run build
- name: ⛅️ Deploy to the Production
uses: cloudflare/wrangler-action@6d58852c35a27e6034745c5d0bc373d739014f7f # v3.13.0
with:
command: pages deploy dist --project-name='${{ github.event.repository.name }}'
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}