Skip to content

Commit 5cbbc3b

Browse files
committed
replace template.hcl with .nomad for jobspec readability
1 parent 132dc85 commit 5cbbc3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pages-gh.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ jobs:
373373
# __USERNAME__="${{ secrets.GITLAB_CONTAINER_USERNAME }}" \
374374
# __PASSWORD__="${{ secrets.GITLAB_CONTAINER_TOKEN }}" \
375375
# __REGISTRY__="${{ secrets.NOMAD_SERVER_DATACENTERS }}" \
376-
__RESEARCHER__: "${{ vars.__RESEARCHER__ }}"
376+
__RESEARCHER__: "${{ secrets.__RESEARCHER__ }}"
377377

378378
steps:
379379
- name: Prepare Environment
@@ -409,11 +409,11 @@ jobs:
409409
__IMAGE_FORCE_PULL__="${{ env.FORCE_PULL || 'false' }}" \
410410
__DATACENTERS__="${{ env.NOMAD_SERVER_DATACENTERS }}" \
411411
__NAMESPACE__="${{ env.NOMAD_SERVER_NAMESPACE }}" \
412-
envsubst < nomad/template.hcl > ${{ env.SERVICE }}.hcl
413-
cat ${{ env.SERVICE }}.hcl
412+
envsubst < nomad/template.nomad > ${{ env.SERVICE }}.nomad
413+
cat ${{ env.SERVICE }}.nomad
414414
415415
- name: Deploy TIMESTAMPED Website To Nomad
416-
run: NOMAD_TOKEN=${{ secrets.NOMAD_SERVER_TOKEN }} NOMAD_ADDR=${{ secrets.NOMAD_SERVER_ADDRESS }} nomad job run ${{ env.SERVICE }}.hcl
416+
run: NOMAD_TOKEN=${{ secrets.NOMAD_SERVER_TOKEN }} NOMAD_ADDR=${{ secrets.NOMAD_SERVER_ADDRESS }} nomad job run ${{ env.SERVICE }}.nomad
417417

418418
- name: Summary output URLs
419419
run: |
File renamed without changes.

0 commit comments

Comments
 (0)