Skip to content

Merge branch 'development' #141

Merge branch 'development'

Merge branch 'development' #141

Workflow file for this run

on:
push:
branches:
- main
- development
name: πŸš€ Deploy website on push
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/[email protected]
- name: πŸ“‚ Sync files to Production
if: github.ref == 'refs/heads/main'
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_NAME }}
password: ${{ secrets.FTP_PASSWORD }}
- name: πŸ“‚ Sync files to Development
if: github.ref == 'refs/heads/development'
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_DEVNAME }}
password: ${{ secrets.FTP_PASSWORD }}