change to use var
This commit is contained in:
1 parent
6e5d4e39e7
commit
52427c453e
1 file changed
+2
-1
@@ -87,5 +87,6 @@ jobs:
|
||||
|
||||
- name: Deploy Job to Nomad
|
||||
run: |
|
||||
export NOMAD_ADDR=${{ secrets.NOMAD_ADDR }}
|
||||
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