Authorization times out

My very simple deploy step:

- name: deploy
  run: npx netlify deploy --build

always times out.

see: https://global.discourse-cdn.com/netlify/original/3X/c/9/c9e54c012ffddec4ac6257026ee7b150ff7420ce.png

I do have my secrets set up as env vars:
see https://global.discourse-cdn.com/netlify/original/3X/7/3/736614dacbf6b89a48752739ca3df1403bb42475.png

And i never get an actual “denied” error. The status page doesn’t show any outage like the last time this was timing out.

How should I debug this?

(PS: this silly forum is configured to not allow me to upload images after i’ve uploaded them. Wasting everyone’s time)

ok, public git is different from our enterprise version. secrets are not automatically exposed in env, so we need a frivolous env section exposing the vars keeping the same name:

- name: deploy
  env:
    NETLIFY_AUTH_TOKEN: "${{ secrets.NETLIFY_AUTH_TOKEN }}"
    NETLIFY_SITE_ID: "${{ secrets.NETLIFY_SITE_ID }}"
  run: npx netlify deploy --dir ".next" --prod