Merge branch 'develop' #61
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 site | |
jobs: | |
web-deploy-test: | |
if: startsWith(github.ref, 'refs/heads/') && github.ref != 'refs/heads/master' | |
name: π Deploy TEST | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v4 | |
- name: ποΈ Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.ftp_server }} | |
username: ${{ secrets.ftp_user }} | |
password: ${{ secrets.ftp_password }} | |
dry-run: true | |
log-level: standard | |
exclude: | | |
**/.git* | |
**/.git*/** | |
web-deploy-prod: | |
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' | |
name: π Deploy PROD | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v4 | |
- name: ποΈ Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.ftp_server }} | |
username: ${{ secrets.ftp_user }} | |
password: ${{ secrets.ftp_password }} | |
dry-run: false | |
log-level: verbose | |
exclude: | | |
**/.git* | |
**/.git*/** |