Skip to content

chore(deps-dev): bump @types/node from 22.5.0 to 22.6.1 in /notifier #243

chore(deps-dev): bump @types/node from 22.5.0 to 22.6.1 in /notifier

chore(deps-dev): bump @types/node from 22.5.0 to 22.6.1 in /notifier #243

Workflow file for this run

# Notifierのデプロイ
name: notifier-CD
on:
pull_request:
paths:
- "notifier/**"
- ".github/workflows/notifier-cd.yml"
- ".github/actions/setupEnvironment/action.yml"
branches:
- main
types: [closed]
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
name: Deploy
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/setupEnvironment
with:
cache-key: "notifier"
working-directory: ./notifier
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
wranglerVersion: "3.28.2"
workingDirectory: ./notifier
secrets: CHANNEL_ACCESS_TOKEN
env:
CHANNEL_ACCESS_TOKEN: ${{ secrets.CHANNEL_ACCESS_TOKEN }}
- name: Fix permissions borked by cloudflare/wrangler-action
run: sudo chown -R $(id -un):$(id -gn) ${{ github.workspace }}