Skip to content

Commit 44308a2

Browse files
authored
Update build_deploy_preprod.yml
Upload files to tmp folder in order to avoid overwrite file to master build.
1 parent 37fe61e commit 44308a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_deploy_preprod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
env:
3939
source-war: 'target/*.war'
4040
source-zip: 'target/*.zip'
41-
destination: 'debian@vm.cerberus-testing.org:/opt/delivery/'
41+
destination: 'debian@vm.cerberus-testing.org:/opt/delivery/tmp/'
4242
run: |
4343
cd source
4444
echo "${{secrets.DEPLOY_KEY}}" > deploy_key
@@ -51,4 +51,4 @@ jobs:
5151
cd source
5252
echo "${{secrets.DEPLOY_KEY}}" > deploy_key
5353
chmod 600 ./deploy_key
54-
ssh -i ./deploy_key -o StrictHostKeyChecking=no debian@vm.cerberus-testing.org "/opt/bin/deployPREPROD.sh /opt/delivery/`find -type f -name cerberus-core*war | sed 's/.\/target\///g'`"
54+
ssh -i ./deploy_key -o StrictHostKeyChecking=no debian@vm.cerberus-testing.org "/opt/bin/deployPREPROD.sh /opt/delivery/tmp/`find -type f -name cerberus-core*war | sed 's/.\/target\///g'`"

0 commit comments

Comments
 (0)