diff --git a/.github/workflows/build-pages-and-deploy.yml b/.github/workflows/build-pages-and-deploy.yml index 3f428b3..80f392b 100644 --- a/.github/workflows/build-pages-and-deploy.yml +++ b/.github/workflows/build-pages-and-deploy.yml @@ -21,5 +21,15 @@ jobs: - name: List files in the repository run: | ls ${{ github.workspace }}/_site/ + + - name: Copy files via ssh key + uses: appleboy/scp-action@v0.1.4 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + port: ${{ secrets.PORT }} + key: ${{ secrets.KEY }} + source: "_site/*" + target: /var/www/sites/qgisch - run: echo "This job's status is ${{ job.status }}."