Skip to content

Merge branch 'main' of https://github.com/Fernando-Santana-j/SDKApps #145

Merge branch 'main' of https://github.com/Fernando-Santana-j/SDKApps

Merge branch 'main' of https://github.com/Fernando-Santana-j/SDKApps #145

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