From 1b75825c5bcf222f30bd9dcf3488e2e64ce2ad88 Mon Sep 17 00:00:00 2001 From: Ali Colville Date: Wed, 11 Sep 2024 12:52:27 +0100 Subject: [PATCH] Create ftp.yml --- .github/workflows/ftp.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ftp.yml diff --git a/.github/workflows/ftp.yml b/.github/workflows/ftp.yml new file mode 100644 index 00000000..506b41af --- /dev/null +++ b/.github/workflows/ftp.yml @@ -0,0 +1,19 @@ +name: ftp-deploy +on: + push: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run zipit action + uses: Neeraj319/zipit-action@main # use the latest tag + with: + zip-file-name: "weight-tracker-latest.zip" + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} + url: ${{ secrets.FTP_URL }} + upload-file-filed-name: "weight-tracker-latest.zip" + query-params: "="