From 77ce0f8a60115b505bb5c68fe23a6bb0595dac0d Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Wed, 3 Apr 2024 13:12:24 +0530 Subject: [PATCH] add action$$$ --- .github/workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..375c94b5 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - master +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: ${{ secrets.FTP_HOST }} + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} + server-dir: ${{ secrets.MY_DIR }} \ No newline at end of file