From 8bbab064ca49cfbb69d17837a36cb8cabaeaf2a0 Mon Sep 17 00:00:00 2001 From: Ratchada Jududom Date: Thu, 15 Sep 2022 11:39:50 +0700 Subject: [PATCH] feat(test): [PM-0000] remove vault secrets --- .github/workflows/build.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7410497..1f74206 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,23 +22,23 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Import Secrets - id: secrets - uses: hashicorp/vault-action@v2.4.2 - with: - url: ${{ secrets.VAULT_ADDR }} - method: github - githubToken: ${{ secrets.VAULT_TOKEN }} - secrets: | - kv/data/pmlo/services/github/pomelo-bot gh_token ; - kv/data/pmlo/envs/integration-test/staging RELEASE_VERSION; +# - name: Import Secrets +# id: secrets +# uses: hashicorp/vault-action@v2.4.2 +# with: +# url: ${{ secrets.VAULT_ADDR }} +# method: github +# githubToken: ${{ secrets.VAULT_TOKEN }} +# secrets: | +# kv/data/pmlo/services/github/pomelo-bot gh_token ; +# kv/data/pmlo/envs/integration-test/staging RELEASE_VERSION; # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # - uses: actions/checkout@v3 - name: Check out repository uses: actions/checkout@v3 - with: - ref: ${{ steps.secrets.outputs.RELEASE_VERSION }} +# with: +# ref: ${{ steps.secrets.outputs.RELEASE_VERSION }} # Runs a single command using the runners shell - name: Run a one-line script @@ -50,5 +50,5 @@ jobs: echo Add other actions to build, echo test, and deploy your project. # Get Branch Name - - name: Branch name with version ${{ steps.secrets.outputs.RELEASE_VERSION }} + - name: Branch name with RELEASE_VERSION ${{ secrets.RELEASE_VERSION }} run: echo running on branch ${GITHUB_REF##*/}