diff --git a/.github/workflows/WebCI.yml b/.github/workflows/WebCI.yml index 1dc5bd0..e18df0d 100644 --- a/.github/workflows/WebCI.yml +++ b/.github/workflows/WebCI.yml @@ -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/* ./