From c89050323d6c180580831c293ed46bdb49b58be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludv=C3=ADk=20Prokopec?= Date: Sun, 23 Oct 2022 11:05:22 +0200 Subject: [PATCH] add workflow --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..1941eb0 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +on: + push: + branches: [ "deploy/prod" ] + pull_request: + branches: [ "deploy/prod" ] + +name: 🚀 Deploy website on push +jobs: + web-deploy: + name: 🎉 Deploy + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v2 + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@4.3.2 + with: + server: ftp.samkirkland.com + username: myFtpUserName + password: ${{ secrets.ftp_password }}