Skip to content

Commit ad05a75

Browse files
Merge pull request #5 from depot/oidc-endpoint
2 parents 777406d + 47c0aa7 commit ad05a75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5459,7 +5459,7 @@ async function run() {
54595459
if (!process.env.DEPOT_TOKEN) {
54605460
try {
54615461
const odicToken = await core.getIDToken('https://depot.dev');
5462-
const res = await client.postJson('https://depot.dev/api/auth/oidc/github-actions', { token: odicToken });
5462+
const res = await client.postJson('https://github.depot.dev/auth/oidc/github-actions', { token: odicToken });
54635463
if (res.result && res.result.token) {
54645464
core.info(`Exchanged GitHub Actions OIDC token for temporary Depot token`);
54655465
core.exportVariable('DEPOT_TOKEN', res.result.token);

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function run() {
3030
try {
3131
const odicToken = await core.getIDToken('https://depot.dev')
3232
const res = await client.postJson<{ok: boolean; token: string}>(
33-
'https://depot.dev/api/auth/oidc/github-actions',
33+
'https://github.depot.dev/auth/oidc/github-actions',
3434
{token: odicToken},
3535
)
3636
if (res.result && res.result.token) {

0 commit comments

Comments
 (0)