Skip to content

Commit

Permalink
feat(test): [PM-0000] remove vault secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ratchadj committed Sep 15, 2022
1 parent 82bc968 commit 8bbab06
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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##*/}

0 comments on commit 8bbab06

Please sign in to comment.