Skip to content

Commit

Permalink
fix 現状確認
Browse files Browse the repository at this point in the history
  • Loading branch information
usuyuki committed Mar 28, 2024
1 parent b9f401c commit bedb75e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Cloudflare Workersへの自動デプロイ

# on:
# pull_request:
# branches:
# - main
# types: [closed]
on:
pull_request:
branches:
- main
types: [closed]
branches: [main]

jobs:
deploy:
Expand All @@ -18,6 +21,8 @@ jobs:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
preCommands: |
pwd
ls -laF
pnpm install
touch .env
echo "NOTION_API_KEY=${{ secrets.NOTION_API_KEY }}" >> .env
Expand Down

0 comments on commit bedb75e

Please sign in to comment.