Skip to content

Commit bc5731c

Browse files
authored
rsync build-db-pkgs.json into metadata artifact for build-db (#246)
1 parent ebd6f55 commit bc5731c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-2-start.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,11 @@ jobs:
220220
env:
221221
# TODO: Can we put both envs above in a $GITHUB_ENV file instead?
222222
SPACK_ENV_PATH: ${{ steps.path.outputs.spack }}/../environments/${{ inputs.env-name }}
223+
# Copy both the spack.* files and the build-db-pkgs.json file to the artifact
223224
run: |
224225
rsync -e 'ssh -i ${{ steps.ssh.outputs.private-key-path }}' \
225-
'${{ secrets.USER}}@${{ secrets.HOST_DATA }}:${{ env.SPACK_ENV_PATH }}/spack.*' \
226+
'${{ secrets.USER }}@${{ secrets.HOST_DATA }}:${{ env.SPACK_ENV_PATH }}/spack.*' \
227+
'${{ secrets.USER }}@${{ secrets.HOST_DATA }}:${{ env.SPACK_ENV_PATH }}/build-db-pkgs.json' \
226228
./${{ env.ARTIFACT_NAME }}
227229
228230
# Rename the files to include the deployment environment

0 commit comments

Comments
 (0)