diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index b228d4b..38c333f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -20,7 +20,7 @@ on: - master env: - PROJECT_ID: $ + PROJECT_ID: ${{ secrets.GCE_PROJECT }} GCE_INSTANCE: test # TODO: update to instance name GCE_INSTANCE_ZONE: asia-northeast3 # TODO: update to instance zone @@ -37,8 +37,8 @@ jobs: - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master with: version: '290.0.1' - service_account_key: $ - project_id: $ + service_account_key: ${{ secrets.GCE_SA_KEY }} + project_id: ${{ secrets.GCE_PROJECT }} # Configure Docker to use the gcloud command-line tool as a credential # helper for authentication