Skip to content

Merge pull request #23 from notcancername/main #44

Merge pull request #23 from notcancername/main

Merge pull request #23 from notcancername/main #44

Workflow file for this run

name: WebUI-FTP
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: tailwindcss
run: |
curl -o tailwindcss -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64
chmod +x tailwindcss
./tailwindcss -i main.css -o server/style.css --minify
- name: WebUI-FTP
uses: airvzxf/ftp-deployment-action@latest
with:
server: ${{ secrets.WEBUI_FTP_SERVER }}
user: ${{ secrets.WEBUI_FTP_USERNAME }}
password: ${{ secrets.WEBUI_FTP_PASSWORD }}
local_dir: "./server"
remote_dir: "./public_html"
delete: "true"
ftp_ssl_allow: "false"
max_retries: "3"