Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: FTP-prod
- on:
- push:
- branches:
- - main
- jobs:
- web-deploy:
- name: Sync code with server
- runs-on: ubuntu-latest
- steps:
- - name: Get code
- uses: actions/checkout@v2
- - name: Riverton
- uses: SamKirkland/FTP-Deploy-Action@4.3.3
- with:
- server: ${{ secrets.ftp_riverton_host }}
- username: ${{ secrets.ftp_riverton_user }}
- password: ${{ secrets.ftp_riverton_password }}
- server-dir: ./garrysmod/
- - name: Minton
- uses: SamKirkland/FTP-Deploy-Action@4.3.3
- with:
- server: ${{ secrets.ftp_minton_host }}
- username: ${{ secrets.ftp_minton_user }}
- password: ${{ secrets.ftp_minton_password }}
- server-dir: ./garrysmod/
- - name: Carlin
- uses: SamKirkland/FTP-Deploy-Action@4.3.3
- with:
- server: ${{ secrets.ftp_carlin_host }}
- username: ${{ secrets.ftp_carlin_user }}
- password: ${{ secrets.ftp_carlin_password }}
- server-dir: ./garrysmod/
- - name: FTP-dev
- on:
- push:
- branches:
- - dev
- jobs:
- web-deploy:
- name: Sync code with server
- runs-on: ubuntu-latest
- steps:
- - name: Get code
- uses: actions/checkout@v2
- - name: Carlin
- uses: SamKirkland/FTP-Deploy-Action@4.3.3
- with:
- server: ${{ secrets.ftp_carlin_host }}
- username: ${{ secrets.ftp_carlin_user }}
- password: ${{ secrets.ftp_carlin_password }}
- server-dir: ./garrysmod/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement