Skip to content

Deploy static content to FTP Server #6243

Deploy static content to FTP Server

Deploy static content to FTP Server #6243

Workflow file for this run

name: Deploy static content to FTP Server
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
push:
branches: ["main"]
paths-ignore:
- "README.md"
- "website/index.php"
permissions:
contents: read
concurrency:
group: "ftp-deploy"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy to FTP Server
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVEUR }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: "./website/"