From 08617803815f0aad1a30a96456371e3776d13395 Mon Sep 17 00:00:00 2001 From: Kayoung Yoon Date: Thu, 31 Oct 2024 13:23:06 +0900 Subject: [PATCH] add id-token permission for OIDC --- .github/workflows/frontend-deploy-dev.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend-deploy-dev.yml b/.github/workflows/frontend-deploy-dev.yml index 8239af89..24f07a1b 100644 --- a/.github/workflows/frontend-deploy-dev.yml +++ b/.github/workflows/frontend-deploy-dev.yml @@ -8,7 +8,8 @@ on: paths: - frontend/** - .github/** - +permissions: + id-token: write jobs: build-dockerfile: defaults: @@ -75,4 +76,5 @@ jobs: instanceName: ${{ secrets.ALPHA_INSTANCE_NAME }} workingDirectory: ${{ secrets.ALPHA_WORKING_DIRECTORY }} commands: | - docker compose restart zipgo-frontend \ No newline at end of file + docker compose restart zipgo-frontend + echo "Succeeded: $GITHUB_SHA" > result.txt \ No newline at end of file