fix(association): remove duplicate title #19

Closed
mbess wants to merge 8 commits from matthieu_test into develop
Showing only changes of commit d6323b36c2 - Show all commits

View file

@ -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: |
if [ "${{ env.github_ref_name }}" = "master" ] || [ "${{ env.github_ref_name }}" = "develop" ]
then
echo "Deploying to $REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME"
rsync --perms --archive --stats \ rsync --perms --archive --stats \
-e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \ -e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \
$REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME $REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME
else
echo "Deployment skipped."
fi