change to use var
This commit is contained in:
3
.github/workflows/pipeline.yml
vendored
3
.github/workflows/pipeline.yml
vendored
@@ -87,5 +87,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy Job to Nomad
|
- name: Deploy Job to Nomad
|
||||||
run: |
|
run: |
|
||||||
export NOMAD_ADDR=${{ secrets.NOMAD_ADDR }}
|
|
||||||
nomad job run -var="version=${{ github.sha }}" infra/nomad/code-snippets.nomad.hcl
|
nomad job run -var="version=${{ github.sha }}" infra/nomad/code-snippets.nomad.hcl
|
||||||
|
env:
|
||||||
|
NOMAD_ADDR: ${{ vars.NOMAD_ADDR }}
|
||||||
|
Reference in New Issue
Block a user