Advertisement
doxzter

ftp

Dec 18th, 2022 (edited)
1,087
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.58 KB | None | 0 0
  1. - name: FTP-prod
  2.   on:
  3.     push:
  4.       branches:
  5.         - main
  6.   jobs:
  7.     web-deploy:
  8.       name: Sync code with server
  9.       runs-on: ubuntu-latest
  10.       steps:
  11.       - name: Get code
  12.         uses: actions/checkout@v2
  13.      
  14.       - name: Riverton
  15.         uses: SamKirkland/FTP-Deploy-Action@4.3.3
  16.         with:
  17.           server: ${{ secrets.ftp_riverton_host }}
  18.           username: ${{ secrets.ftp_riverton_user }}
  19.           password: ${{ secrets.ftp_riverton_password }}
  20.           server-dir: ./garrysmod/
  21.       - name: Minton
  22.         uses: SamKirkland/FTP-Deploy-Action@4.3.3
  23.         with:
  24.           server: ${{ secrets.ftp_minton_host }}
  25.           username: ${{ secrets.ftp_minton_user }}
  26.           password: ${{ secrets.ftp_minton_password }}
  27.           server-dir: ./garrysmod/
  28.       - name: Carlin
  29.         uses: SamKirkland/FTP-Deploy-Action@4.3.3
  30.         with:
  31.           server: ${{ secrets.ftp_carlin_host }}
  32.           username: ${{ secrets.ftp_carlin_user }}
  33.           password: ${{ secrets.ftp_carlin_password }}
  34.           server-dir: ./garrysmod/
  35.  
  36. - name: FTP-dev
  37.   on:
  38.     push:
  39.       branches:
  40.         - dev
  41.   jobs:
  42.     web-deploy:
  43.       name: Sync code with server
  44.       runs-on: ubuntu-latest
  45.       steps:
  46.       - name: Get code
  47.         uses: actions/checkout@v2
  48.      
  49.       - name: Carlin
  50.         uses: SamKirkland/FTP-Deploy-Action@4.3.3
  51.         with:
  52.           server: ${{ secrets.ftp_carlin_host }}
  53.           username: ${{ secrets.ftp_carlin_user }}
  54.           password: ${{ secrets.ftp_carlin_password }}
  55.           server-dir: ./garrysmod/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement