diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index d4606d1..abbcfbd 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -44,7 +44,7 @@ jobs: - name: Run renderDtype run: npm run renderDtype env: - MY_SECRET: ${{ secrets.GITHUB_TOKEN}} + MY_SECRET: ${{ secrets.ENV_DANNGER}} # - name: Update submodule # run: | # git stash # Stash any changes diff --git a/src/utils/proto.ts b/src/utils/proto.ts index 1a99830..6b84acf 100644 --- a/src/utils/proto.ts +++ b/src/utils/proto.ts @@ -164,7 +164,8 @@ class ProtobufjsRender { if (fileTsPre != fileTsAfter) { console.log('TWO FILE IS DIFFERENT, PREPARE TO PUSH') - console.log('TOKEN AUT: ', process.env.GITHUB_TOKEN) + const secretValue = process.env.GITHUB_TOKEN + console.log('TOKEN AUT: ', secretValue) // Create a personal access token at https://github.com/settings/tokens/new?scopes=repo const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN })