From afd2db80d948a69e97b357258d62d2806d9abf13 Mon Sep 17 00:00:00 2001 From: Dean Schulz Date: Mon, 27 May 2024 15:38:56 -0500 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..876500a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - main +name: 🚀 Deploy website on push +jobs: + web-deploy: + name: 🎉 Deploy + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v4 + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@v4.3.5 + with: + server: 107.180.37.105 + username: ${{ secrets.ftp_username_dean }} + password: ${{ secrets.ftp_password_dean }} + server-dir: /deanpschulz.com/