Skip to content

Commit

Permalink
fix: workflow for real
Browse files Browse the repository at this point in the history
  • Loading branch information
axyut committed Nov 21, 2024
1 parent 1e40d93 commit 3ddcf54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ on:
branches:
- main
workflow_dispatch:
inputs:
environment:
description: "Choose an environment to deploy to: <dev|staging|prod>"
required: true
default: "dev"
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@v3.12.1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2 changes: 1 addition & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#:schema node_modules/wrangler/config-schema.json
name = "my-first-worker-2"
name = "bosc.org.np"
main = "src/index.ts"
compatibility_date = "2024-11-12"

Expand Down

0 comments on commit 3ddcf54

Please sign in to comment.