Skip to content

push

push #661

Workflow file for this run

name: CI/CD Development
on :
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
web-deploy:
name: auto deploy
runs-on: ubuntu-latest
steps:
- name: get latest code
uses: actions/checkout@v3
- name: FTP Deploy
# You may pin to the exact commit or the version.
# uses: SamKirkland/FTP-Deploy-Action@8a24039354ee91000cb948cb4a1dbdf1a1b94a3c
uses: SamKirkland/[email protected]
with:
# ftp server
server: ${{ secrets.FTP_SERVER }}
# ftp username
username: ${{ secrets.FTP_USERNAME }}
# ftp password
password: ${{ secrets.FTP_PASSWORD }}
# Server port to connect to (read your web hosts docs)
port: ${{ secrets.FTP_PORT }}
# protocol to deploy with - ftp, ftps, or ftps-legacy
protocol: ftp
# An array of glob patterns, these files will not be included in the publish/delete process
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
**/vendor/**
**/storage/**