Merge pull request #25 from OpzekerIT/dev

Dev
This commit is contained in:
Lanta 2023-09-26 16:15:10 +02:00 committed by GitHub
commit 9755d031bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,6 @@ jobs:
echo "DESTINATION=/var/www/lantaeu/DTCH_DEV/" >> $GITHUB_ENV
fi
- name: Sync Files from ${{ github.ref }}
uses: SamKirkland/web-deploy@v1
with:
@ -31,3 +30,10 @@ jobs:
private-ssh-key: ${{ secrets.SSH_KEY }}
destination-path: ${{ env.DESTINATION }}
rsync-options: --no-times -r --exclude=.git* --exclude=*.json --exclude=.git/ --exclude=.github/ --exclude=config.php
- name: LINK TO WEBSITE
run: |
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "Visit the production site at: https://lanta.eu/DTCH/"
else
echo "Visit the dev site at: https://lanta.eu/DTCH_DEV/"
fi