From 334cbf8f85f3b08c8812b391d2ea6cce295f4124 Mon Sep 17 00:00:00 2001 From: Lillian Skinner <56081713+rvtr@users.noreply.github.com> Date: Wed, 9 Oct 2024 02:05:33 -0400 Subject: [PATCH] Minor mistake from force pushing (I should have force pushed this too) --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..13e41b7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: update server +run-name: Update locally hosted server +on: [push] +jobs: + update: + runs-on: ubuntu-latest + steps: + - name: SSH + uses: appleboy/ssh-action@v1.1.0 + with: + host: ${{ secrets.SERVER_HOST }} + username: ${{ secrets.SERVER_USERNAME }} + password: ${{ secrets.SERVER_PASSWORD }} + port: 22 + script: | + cd /var/www + ./build_site.sh