From d4f35b25921ee6268eb9517a778899c5a7ce70c7 Mon Sep 17 00:00:00 2001 From: jorenbroekema <joren.broekema@gmail.com> Date: Thu, 4 Jul 2024 15:47:54 +0200 Subject: [PATCH] chore: use GitHub secrets instead of hashicorp vault for now --- .github/workflows/release.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ce10aa..de4ec31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,16 +36,17 @@ jobs: - name: Install Dependencies run: npm ci - - name: Import Secrets - id: secrets - uses: hashicorp/vault-action@v2 - with: - url: ${{ vars.VAULT_URL }} - role: ${{ vars.VAULT_ROLE }} - method: jwt - namespace: admin - secrets: | - ${{ vars.VAULT_PATH }} TOKEN | NPM_TOKEN; + # FIXME: not working .... + # - name: Import Secrets + # id: secrets + # uses: hashicorp/vault-action@v2 + # with: + # url: ${{ vars.VAULT_URL }} + # role: ${{ vars.VAULT_ROLE }} + # method: jwt + # namespace: admin + # secrets: | + # ${{ vars.VAULT_PATH }} TOKEN | NPM_TOKEN; - name: Create Release Pull Request or Publish to npm id: changesets @@ -55,4 +56,5 @@ jobs: publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ steps.secrets.outputs.NPM_TOKEN }} \ No newline at end of file + # NODE_AUTH_TOKEN: ${{ steps.secrets.outputs.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}