Skip to content

Merge pull request #32 from Fernando-Santana-j/development #125

Merge pull request #32 from Fernando-Santana-j/development

Merge pull request #32 from Fernando-Santana-j/development #125

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 }}