From 5235b9d1a508b2b8e53642936e8693bd1d19ec7e Mon Sep 17 00:00:00 2001 From: almirh <24458972+almirhodzic@users.noreply.github.com> Date: Wed, 1 Nov 2023 23:49:55 +0100 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 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..3db2267 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +on: push +name: 🚀 Deploy TodoApp-Angular +jobs: + web-deploy: + name: 🎉 Deploy TodoApp-Angular + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@4.3.3 + with: + server: ${{ secrets.FTP_TODOAPP_URL }} + username: ${{ secrets.FTP_TODOAPP_USER }} + password: ${{ secrets.FTP_TODOAPP_PASS }}