Update to clone data to server
This commit is contained in:
parent
ed2c756916
commit
1d4896842f
|
|
@ -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/* ./
|
||||
|
|
|
|||
Loading…
Reference in New Issue