Skip to content

expose dropped/processed requests metrics #25

expose dropped/processed requests metrics

expose dropped/processed requests metrics #25

Workflow file for this run

name: Generate js
on:
push:
paths:
- 'pkg/cloudflare/worker/**'
- '.github/workflows/update-js.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Create local changes
run: |
make build-worker-js
- name: Commit files
if: ${{ github.event_name == 'push'}}
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Update dist js" pkg/cloudflare/worker/dist/main.js || exit 0
#token to expire on 09/19/2024
- name: Push changes
if: ${{ github.event_name == 'push'}}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
branch: ${{ github.ref }}