Files
xget/.github/workflows/depoly.yml
T
xixu-me 2774dabe27 Add Dependabot config and simplify deploy workflow
Introduces .github/dependabot.yml to automate dependency updates for npm and GitHub Actions. Streamlines the deploy job in depoly.yml by removing setup, install, lint, type-check, and test steps, focusing only on code checkout and deployment via Wrangler.
2025-11-07 13:26:23 +08:00

27 lines
530 B
YAML

name: Deploy Worker
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- 'LICENSE'
- '.gitignore'
- '.editorconfig'
- '.vscode/**'
- 'docs/**'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}