Add Help html for cloudflare-docker-proxy and Enable Workers Logs #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Cloudflare Workers(Staging) | |
on: | |
pull_request_target: | |
paths-ignore: | |
- '**.md' | |
repository_dispatch: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
name: Build & Deploy | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Publish | |
uses: cloudflare/wrangler-action@v3 | |
env: | |
CUSTOM_DOMAIN: ${{ secrets.CUSTOM_DOMAIN || 'libcuda.so' }} | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
accountId: ${{secrets.CF_ACCOUNT_ID}} | |
vars: | |
CUSTOM_DOMAIN | |
command: deploy --env staging --minify src/index.js | |
environment: staging |