changes ups #10
This file contains 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 | |
name: π Deploy website on push | |
jobs: | |
web-deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v4 | |
- name: π Sync web folder contents | |
uses: SamKirkland/[email protected] | |
with: | |
server: ftp.mediabit.ro | |
username: [email protected] | |
password: ${{ secrets.ftp_password }} | |
exclude: | | |
**/.git* | |
**/.git*/** | |
**/.todo* | |
**/node_modules/** | |
web/app/themes/mediabit/sources/** | |
web/app/themes/mediabit/build/tools-dev/** | |
local-dir: web/ # Upload everything from the web folder | |
server-dir: / # Place everything at the root of the FTP folder |