fix(association): remove duplicate title #19
1 changed files with 9 additions and 3 deletions
|
@ -62,8 +62,14 @@ jobs:
|
||||||
REMOTE_USER: forgejo_actions_websites
|
REMOTE_USER: forgejo_actions_websites
|
||||||
SRV_HOST: srv06.lefuturiste.fr
|
SRV_HOST: srv06.lefuturiste.fr
|
||||||
run: |
|
run: |
|
||||||
rsync --perms --archive --stats \
|
if [ "${{ env.github_ref_name }}" = "master" ] || [ "${{ env.github_ref_name }}" = "develop" ]
|
||||||
-e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \
|
then
|
||||||
$REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME
|
echo "Deploying to $REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME"
|
||||||
|
rsync --perms --archive --stats \
|
||||||
|
-e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \
|
||||||
|
$REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME
|
||||||
|
else
|
||||||
|
echo "Deployment skipped."
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue