delete secrets artifact, update readme
This commit is contained in:
23
.github/workflows/generator-android.yml
vendored
23
.github/workflows/generator-android.yml
vendored
@@ -578,14 +578,22 @@ jobs:
|
|||||||
|
|
||||||
- name: send file to rdgen server
|
- name: send file to rdgen server
|
||||||
if: ${{ env.rdgen == 'true' }}
|
if: ${{ env.rdgen == 'true' }}
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
command: |
|
||||||
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./signed-apk/${{ env.filename }}-${{ matrix.job.arch }}.apk" -F "uuid=${{ env.uuid }}" ${{ secrets.GENURL }}/save_custom_client
|
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./signed-apk/${{ env.filename }}-${{ matrix.job.arch }}.apk" -F "uuid=${{ env.uuid }}" ${{ secrets.GENURL }}/save_custom_client
|
||||||
|
|
||||||
- name: send file to api server
|
- name: send file to api server
|
||||||
if: ${{ env.rdgen == 'false' }}
|
if: ${{ env.rdgen == 'false' }}
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
command: |
|
||||||
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./signed-apk/${{ env.filename }}-${{ matrix.job.arch }}.apk" ${{ env.apiServer }}/api/save_custom_client
|
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./signed-apk/${{ env.filename }}-${{ matrix.job.arch }}.apk" ${{ env.apiServer }}/api/save_custom_client
|
||||||
|
|
||||||
- name: failed
|
- name: failed
|
||||||
@@ -654,3 +662,14 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: ${{ env.filename }}-*.deb
|
name: ${{ env.filename }}-*.deb
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
needs: [build-rustdesk-android, deploy]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
if: always()
|
||||||
|
steps:
|
||||||
|
- name: Delete secrets artifact
|
||||||
|
uses: geekyeggo/delete-artifact@v5
|
||||||
|
with:
|
||||||
|
name: encrypted-secrets-zip
|
||||||
11
.github/workflows/generator-linux.yml
vendored
11
.github/workflows/generator-linux.yml
vendored
@@ -914,3 +914,14 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: ${{ env.filename }}-*.deb
|
name: ${{ env.filename }}-*.deb
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
needs: [build-rustdesk-linux,build-flatpak,build-appimage,deploy]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
if: always()
|
||||||
|
steps:
|
||||||
|
- name: Delete secrets artifact
|
||||||
|
uses: geekyeggo/delete-artifact@v5
|
||||||
|
with:
|
||||||
|
name: encrypted-secrets-zip
|
||||||
|
|||||||
11
.github/workflows/generator-macos.yml
vendored
11
.github/workflows/generator-macos.yml
vendored
@@ -767,3 +767,14 @@ jobs:
|
|||||||
method: 'POST'
|
method: 'POST'
|
||||||
customHeaders: '{"Content-Type": "application/json"}'
|
customHeaders: '{"Content-Type": "application/json"}'
|
||||||
data: '{"uuid": "${{ env.uuid }}", "status": "Generation cancelled, try again"}'
|
data: '{"uuid": "${{ env.uuid }}", "status": "Generation cancelled, try again"}'
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
needs: [build-for-macos]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
if: always()
|
||||||
|
steps:
|
||||||
|
- name: Delete secrets artifact
|
||||||
|
uses: geekyeggo/delete-artifact@v5
|
||||||
|
with:
|
||||||
|
name: encrypted-secrets-zip
|
||||||
|
|||||||
11
.github/workflows/generator-windows-x86.yml
vendored
11
.github/workflows/generator-windows-x86.yml
vendored
@@ -506,3 +506,14 @@ jobs:
|
|||||||
method: 'POST'
|
method: 'POST'
|
||||||
customHeaders: '{"Content-Type": "application/json"}'
|
customHeaders: '{"Content-Type": "application/json"}'
|
||||||
data: '{"uuid": "${{ env.uuid }}", "status": "Generation cancelled, try again"}'
|
data: '{"uuid": "${{ env.uuid }}", "status": "Generation cancelled, try again"}'
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
needs: [build-for-windows-sciter]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
if: always()
|
||||||
|
steps:
|
||||||
|
- name: Delete secrets artifact
|
||||||
|
uses: geekyeggo/delete-artifact@v5
|
||||||
|
with:
|
||||||
|
name: encrypted-secrets-zip
|
||||||
|
|||||||
14
.github/workflows/generator-windows.yml
vendored
14
.github/workflows/generator-windows.yml
vendored
@@ -655,15 +655,23 @@ jobs:
|
|||||||
|
|
||||||
- name: send file to rdgen server
|
- name: send file to rdgen server
|
||||||
if: ${{ env.rdgen == 'true' }}
|
if: ${{ env.rdgen == 'true' }}
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
command: |
|
||||||
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.exe" -F "uuid=${{ env.uuid }}" ${{ secrets.GENURL }}/save_custom_client
|
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.exe" -F "uuid=${{ env.uuid }}" ${{ secrets.GENURL }}/save_custom_client
|
||||||
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.msi" -F "uuid=${{ env.uuid }}" ${{ secrets.GENURL }}/save_custom_client || true
|
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.msi" -F "uuid=${{ env.uuid }}" ${{ secrets.GENURL }}/save_custom_client || true
|
||||||
|
|
||||||
- name: send file to api server
|
- name: send file to api server
|
||||||
if: ${{ env.rdgen == 'false' }}
|
if: ${{ env.rdgen == 'false' }}
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
command: |
|
||||||
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.exe" ${{ env.apiServer }}/api/save_custom_client
|
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.exe" ${{ env.apiServer }}/api/save_custom_client
|
||||||
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.msi" ${{ env.apiServer }}/api/save_custom_client || true
|
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ env.token }}" -F "file=@./SignOutput/${{ env.filename }}.msi" ${{ env.apiServer }}/api/save_custom_client || true
|
||||||
|
|
||||||
@@ -700,6 +708,6 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
- name: Delete secrets artifact
|
- name: Delete secrets artifact
|
||||||
uses: geekyeggo/delete-artifact@v1
|
uses: geekyeggo/delete-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: encrypted-secrets-zip
|
name: encrypted-secrets-zip
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ If you would like to host the generator yourself, see [here](setup.md)
|
|||||||
- Set default settings for the client
|
- Set default settings for the client
|
||||||
- Support for rustdesk advanced settings (https://rustdesk.com/docs/en/self-host/client-configuration/advanced-settings/)
|
- Support for rustdesk advanced settings (https://rustdesk.com/docs/en/self-host/client-configuration/advanced-settings/)
|
||||||
|
|
||||||
|
## Generate RustDesk clients from command line instead of using a web browser
|
||||||
|
|
||||||
|
Save your configuration from the rdgen web interface, or generate your own, then use that json file with [@AlekseyLapunov's rdgen-cli](https://github.com/AlekseyLapunov/rdgen-cli) to build from the command line on Windows, Linux, or MacOS like this: `python rdgen-cli -f my_config.json --set-version 1.4.5 --set-platform windows -s https://rdgen.crayoneater.org`
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- Icons should be square (256x256 recommended)
|
- Icons should be square (256x256 recommended)
|
||||||
|
|||||||
Reference in New Issue
Block a user