File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,6 +193,9 @@ jobs:
193193
194194 - name : Deploy to ${{ inputs.deployment-target }} ${{ inputs.deployment-type }}
195195 id : deploy
196+ env :
197+ SCOPES : ${{ steps.versions.outputs.custom-scopes }}
198+ SCOPES_PATH : ${{ steps.path.outputs.spack-config }}/custom/cd
196199 # ssh into deployment environment, create and activate the env, install the spack manifest.
197200 run : |
198201 ssh ${{ secrets.USER}}@${{ secrets.HOST }} -i ${{ steps.ssh.outputs.private-key-path }} /bin/bash <<'EOT'
@@ -217,11 +220,11 @@ jobs:
217220
218221 # Finally, install the spack manifest
219222 spack --debug \
220- $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
223+ $(for s in ${{ env.SCOPES }}; do echo -n "--custom-scope ${{ env.SCOPES_PATH }}/ $s "; done) \
221224 install --fail-fast --fresh ${{ vars.SPACK_INSTALL_ADDITIONAL_ARGS }} || exit $?
222225
223226 spack \
224- $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
227+ $(for s in ${{ env.SCOPES }}; do echo -n "--custom-scope ${{ env.SCOPES_PATH }}/ $s "; done) \
225228 module tcl refresh -y
226229 EOT
227230
You can’t perform that action at this time.
0 commit comments