We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f708dd0 commit b232e8aCopy full SHA for b232e8a
.github/workflows/deploy-2-start.yml
@@ -3,6 +3,10 @@ concurrency: ${{ inputs.deployment-environment }}
3
on:
4
workflow_call:
5
inputs:
6
+ type:
7
+ type: string
8
+ required: true
9
+ description: The type of deployment - either 'release' or 'prerelease'
10
model:
11
type: string
12
required: true
@@ -72,11 +76,14 @@ jobs:
72
76
73
77
# Release
74
78
- name: Get Release Metadata
79
+ if: inputs.type == 'release'
75
80
run: |
81
rsync -e 'ssh -i ${{ steps.ssh.outputs.private-key-path }}' \
82
'${{ secrets.USER}}@${{ secrets.HOST_DATA }}:${{ vars.SPACK_LOCATION }}/var/spack/environments/${{ inputs.env-name }}/spack.*' \
83
./${{ inputs.env-name }}
84
+
85
- name: Create Release
86
87
uses: softprops/[email protected]
88
with:
89
tag_name: ${{ inputs.version }}
0 commit comments