From 4a511dc0d6c1fe81d40ab589307cfceed35d18d3 Mon Sep 17 00:00:00 2001 From: Mineek Date: Wed, 25 Jan 2023 12:32:01 +0100 Subject: [PATCH] need this for smth --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfd3fd5..38e66f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -235,6 +235,18 @@ jobs: localDir: 'ready/' remoteDir: '/palera1n/artifacts/c-rewrite' + - name: Upload artifact + uses: wangyucode/sftp-upload-action@v1.4.8 + with: + host: ${{ secrets.MINEEK_FTP_HOST }} + port: 22 + username: mineekfiles + password: ${{ secrets.MINEEK_FTP_PASS }} + forceUpload: true + dryRun: false + localDir: 'ready/' + remoteDir: '/palera1n/artifacts/palera1n-c' + - name: Upload ${{ matrix.os }} thin ${{ matrix.arch }} build uses: actions/upload-artifact@v3 with: @@ -283,6 +295,18 @@ jobs: localDir: 'ready/' remoteDir: '/palera1n/artifacts/c-rewrite' + - name: Upload artifact + uses: wangyucode/sftp-upload-action@v1.4.8 + with: + host: ${{ secrets.MINEEK_FTP_HOST }} + port: 22 + username: mineekfiles + password: ${{ secrets.MINEEK_FTP_PASS }} + forceUpload: true + dryRun: false + localDir: 'ready/' + remoteDir: '/palera1n/artifacts/palera1n-c' + build-Linux: strategy: matrix: @@ -501,3 +525,15 @@ jobs: dryRun: false localDir: 'ready/' remoteDir: '/palera1n/artifacts/c-rewrite' + + - name: Upload artifact + uses: wangyucode/sftp-upload-action@v1.4.8 + with: + host: ${{ secrets.MINEEK_FTP_HOST }} + port: 22 + username: mineekfiles + password: ${{ secrets.MINEEK_FTP_PASS }} + forceUpload: true + dryRun: false + localDir: 'ready/' + remoteDir: '/palera1n/artifacts/palera1n-c'