diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index cf219fc..f4e446d 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -13,6 +13,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: read + id-token: write outputs: cloudflare_token: ${{ steps.creds.outputs.cloudflare_token }} account_id: ${{ steps.creds.outputs.account_id }} @@ -27,7 +28,6 @@ jobs: id: creds uses: ./.chittyops/.github/actions/getchitty-creds with: - api_key: ${{ secrets.CHITTYCONNECT_API_KEY }} purpose: 'pages-deploy' service: 'chittycommand-ui' diff --git a/.github/workflows/deploy-worker.yml b/.github/workflows/deploy-worker.yml index 1fac2f4..b72ff4d 100644 --- a/.github/workflows/deploy-worker.yml +++ b/.github/workflows/deploy-worker.yml @@ -9,11 +9,12 @@ on: - 'wrangler.toml' - '.github/workflows/deploy-worker.yml' +permissions: + contents: read + id-token: write + jobs: deploy: uses: CHITTYOS/chittyops/.github/workflows/reusable-worker-deploy.yml@main with: service_name: chittycommand - secrets: - CHITTYCONNECT_API_KEY: ${{ secrets.CHITTYCONNECT_API_KEY }} - diff --git a/wrangler.toml b/wrangler.toml index ca6937c..e9fda82 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -5,7 +5,6 @@ compatibility_date = "2026-01-15" compatibility_flags = ["nodejs_compat"] routes = [ { pattern = "command.chitty.cc", custom_domain = true }, - { pattern = "disputes.chitty.cc", custom_domain = true }, { pattern = "command.mychitty.com", custom_domain = true } ]