Skip to content

Deploy to SFTP

Deploy to SFTP #4

Workflow file for this run

name: Deploy to SFTP
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy_job:
runs-on: ubuntu-latest
name: deploy
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy file
uses: wlixcc/[email protected]
with:
username: ${{ secrets.FTP_USERNAME }}
server: ${{ secrets.FTP_SERVER }}
port: ${{ secrets.FTP_PORT }}
local_path: './app/*'
remote_path: '/home/'
sftp_only: true
password: ${{ secrets.FTP_PASSWORD }}