diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5744b0..b3ae4e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,11 +25,11 @@ jobs: - name: Sync Files from ${{ github.ref }} uses: SamKirkland/web-deploy@v1 with: - target-server: 86.93.122.67 + target-server: ${{ secrets.DEST_SERVER }} remote-user: stats private-ssh-key: ${{ secrets.SSH_KEY }} destination-path: ${{ env.DESTINATION }} - rsync-options: --no-times -r -v --exclude=.git* --exclude=*.json --exclude=.git/ --exclude=.github/ --exclude=config.php + 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