File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,6 +186,9 @@ jobs:
186186
187187 - name : Deploy to ${{ inputs.deployment-target }} ${{ inputs.deployment-type }}
188188 id : deploy
189+ env :
190+ SCOPES : ${{ steps.versions.outputs.custom-scopes }}
191+ SCOPES_PATH : ${{ steps.path.outputs.spack-config }}/custom/cd
189192 # ssh into deployment environment, create and activate the env, install the spack manifest.
190193 run : |
191194 ssh ${{ secrets.USER}}@${{ secrets.HOST }} -i ${{ steps.ssh.outputs.private-key-path }} /bin/bash <<'EOT'
@@ -207,11 +210,11 @@ jobs:
207210
208211 # Finally, install the spack manifest
209212 spack --debug \
210- $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
213+ $(for s in ${{ env.SCOPES }}; do echo -n "--custom-scope ${{ env.SCOPES_PATH }}/ $s "; done) \
211214 install --fail-fast --fresh ${{ vars.SPACK_INSTALL_ADDITIONAL_ARGS }} || exit $?
212215
213216 spack \
214- $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
217+ $(for s in ${{ env.SCOPES }}; do echo -n "--custom-scope ${{ env.SCOPES_PATH }}/ $s "; done) \
215218 module tcl refresh -y
216219 EOT
217220
You can’t perform that action at this time.
0 commit comments