Skip to content

Instantly share code, notes, and snippets.

@arif98741
Last active May 17, 2022 18:13
Show Gist options
  • Save arif98741/0b7bd128eb00a0eab3b56a8de27083ec to your computer and use it in GitHub Desktop.
Save arif98741/0b7bd128eb00a0eab3b56a8de27083ec to your computer and use it in GitHub Desktop.
Github CI Pipeline for FTP
on:
push:
branches: [ production ]
name: Phpdark.com Deployment
jobs:
FTP-Deploy-Action:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: server290.web-hosting.com/public_html
ftp-username: ${{ secrets.USERNAME }}
ftp-password: ${{ secrets.PASSWORD }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment