Skip to content

Commit 86ead2c

Browse files
authored
Update build_be.yml
1 parent 6daaa54 commit 86ead2c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build_be.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ jobs:
4545
./build.sh --target=Pack --bleeding_edge=${{ steps.be_status.outputs.is_be == 'true' }} --build_id=${{ steps.info.outputs.build_id || 0 }} --last_build_commit=\"${{ steps.last_successful_commit.outputs.commit_hash }}\" --nuget_push_key=\"${{ secrets.BEPIN_DEV_NUGET_KEY }}\"
4646
- name: Upload to BepisBuilds
4747
env:
48-
BEPISBUILDS_ADDR: ${{ secrets.BEPISBUILDS_ADDR }}
49-
if: ${{ steps.be_status.outputs.is_be == 'true' && env.BEPISBUILDS_ADDR != null }}
48+
BEPISBUILDS_HOST: ${{ secrets.BEPISBUILDS_HOST }}
49+
BEPISBUILDS_AUTH: ${{ secrets.BEPISBUILDS_AUTH }}
50+
BEPISBUILDS_PORT: ${{ secrets.BEPISBUILDS_PORT }}
51+
if: ${{ steps.be_status.outputs.is_be == 'true' && env.BEPISBUILDS_HOST != null }}
5052
run: |
5153
artifacts_list=$(ls ./bin/dist/*.* | tr '\n' ','); artifacts_list=${artifacts_list::-1};
52-
curl --upload-file "{${artifacts_list}}" --ftp-pasv --ftp-skip-pasv-ip --ftp-create-dirs --ftp-method singlecwd --disable-epsv ${{ secrets.BEPISBUILDS_ADDR }}/bepinex_be/artifacts/${{ steps.info.outputs.build_id }}/
54+
curl --upload-file "{${artifacts_list}}" --ftp-pasv --ftp-skip-pasv-ip --ftp-create-dirs --ftp-method singlecwd --disable-epsv "ftp://${BEPISBUILDS_AUTH}@${BEPISBUILDS_HOST}:${BEPISBUILDS_PORT}/bepinex_be/artifacts/${{ steps.info.outputs.build_id }}/"
5355
- name: Generate changelog
5456
id: generate_changelog
5557
if: ${{ steps.be_status.outputs.is_be == 'true' }}

0 commit comments

Comments
 (0)