Skip to content

Fix "syntax error, unexpected end of file, expecting variable (T_VARIโ€ฆ #50

Fix "syntax error, unexpected end of file, expecting variable (T_VARIโ€ฆ

Fix "syntax error, unexpected end of file, expecting variable (T_VARIโ€ฆ #50

Workflow file for this run

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*/**