diff --git a/dist/index.js b/dist/index.js index d6776a6..e145ddb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5459,7 +5459,7 @@ async function run() { if (!process.env.DEPOT_TOKEN) { try { const odicToken = await core.getIDToken('https://depot.dev'); - const res = await client.postJson('https://depot.dev/api/auth/oidc/github-actions', { token: odicToken }); + const res = await client.postJson('https://github.depot.dev/auth/oidc/github-actions', { token: odicToken }); if (res.result && res.result.token) { core.info(`Exchanged GitHub Actions OIDC token for temporary Depot token`); core.exportVariable('DEPOT_TOKEN', res.result.token); diff --git a/src/index.ts b/src/index.ts index b429d1e..70d0d3c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,7 +30,7 @@ async function run() { try { const odicToken = await core.getIDToken('https://depot.dev') const res = await client.postJson<{ok: boolean; token: string}>( - 'https://depot.dev/api/auth/oidc/github-actions', + 'https://github.depot.dev/auth/oidc/github-actions', {token: odicToken}, ) if (res.result && res.result.token) {