mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Import build secrets as env vars
This commit is contained in:
parent
c9b58e154f
commit
806ce6c930
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -34,6 +34,9 @@ jobs:
|
||||||
- name: Publish to Downloads API
|
- name: Publish to Downloads API
|
||||||
if: ${{ github.ref_name == 'master' && job.status == 'success' && github.repository == 'GeyserMC/Geyser' }}
|
if: ${{ github.ref_name == 'master' && job.status == 'success' && github.repository == 'GeyserMC/Geyser' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
DOWNLOADS_PRIVATE_KEY: ${{ secrets.DOWNLOADS_PRIVATE_KEY }}
|
||||||
|
DOWNLOADS_SERVER_IP: ${{ secrets.DOWNLOADS_SERVER_IP }}
|
||||||
run: |
|
run: |
|
||||||
# Save the private key to a file
|
# Save the private key to a file
|
||||||
echo "$DOWNLOADS_PRIVATE_KEY" > id_ecdsa
|
echo "$DOWNLOADS_PRIVATE_KEY" > id_ecdsa
|
||||||
|
|
Loading…
Reference in a new issue