Skip to content

Commit

Permalink
Update cpanel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dizaraj authored May 14, 2024
1 parent 1a7c4d4 commit dfec456
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/cpanel.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# ⭐ contributor Dizaraj Dey | https://github.com/dizaraj | ❤️ Special thanks to SamKirkland
name: 🚀 Deploy website on push
on:
push:
branches: [master]
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest

steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4

- name: 📂 Sync files and folders
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
port: 22
# dry-run: true

jobs:
deploy_job:
runs-on: ubuntu-latest
name: deploy
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy file
uses: wlixcc/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
port: ${{ secrets.SERVER_PATH }}
local_path: './*'
remote_path: '/home/obvoycom/bloodonation.obvoy.com'
sftp_only: true

0 comments on commit dfec456

Please sign in to comment.