Merge pull request #344 from codersaiful/3.5.0.0 #114
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
name: 🚀 Deploy website on push | |
jobs: | |
web-deploy: | |
name: 🎉 Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/checkout@v2 | |
- name: 📂 Sync files for demo.wooproducttable.com | |
uses: SamKirkland/FTP-Deploy-Action@4.2.0 | |
with: | |
server: ${{ secrets.ftp_server }} | |
username: ${{ secrets.ftp_username }} | |
password: ${{ secrets.ftp_password }} | |
server-dir: ${{ secrets.ftp_file_dir }} | |
- name: 📂 Sync files for try.wooproducttable.com | |
uses: SamKirkland/FTP-Deploy-Action@4.2.0 | |
with: | |
server: ${{ secrets.ftp_server }} | |
username: ${{ secrets.ftp_username }} | |
password: ${{ secrets.ftp_password }} | |
server-dir: ${{ secrets.ftp_file_dir_try }} |