Update to clone data to server

This commit is contained in:
Chase Eller 2023-08-27 12:13:01 -04:00
parent ed2c756916
commit 1d4896842f
No known key found for this signature in database
GPG Key ID: 9233D42F495E657C
1 changed files with 13 additions and 1 deletions

View File

@ -33,7 +33,7 @@ jobs:
mkdir -p ./workingdir2
find ./ -mindepth 1 -maxdepth 1 -type d ! -name '.git' ! -name '.github' ! -name 'workingdir2' ! -name '.vscode' -exec mv -t workingdir2/ {} +
- name: SFTP Upload
- name: SFTP Upload - Web
uses: wangyucode/sftp-upload-action@v2.0.2
with:
host: 127.0.0.1
@ -45,6 +45,18 @@ jobs:
exclude: '*.git/*,*.git/,*.github/*,*.github/,README.md,.gitignore'
removeExtraFilesOnServer: true
- name: SFTP Upload - Fivem
uses: wangyucode/sftp-upload-action@v2.0.2
with:
host: ${{ secrets.PTERODACTYL_PANEL }}
port: 2022
username: ${{ secrets.SFTP_USER }}
password: ${{ secrets.SFTP_KEY }}
localDir: './workingdir2'
remoteDir: '/resources/[GRAPHICS]/'
exclude: '*.git/*,*.git/,*.github/*,*.github/,README.md,.gitignore'
removeExtraFilesOnServer: true
- name: Put It All Back
run: |
mv ./workingdir2/* ./