mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Don't enforce repo/branch on preview deploy
This commit is contained in:
parent
65bb1fb559
commit
fec62d3658
1 changed files with 3 additions and 3 deletions
6
.github/workflows/preview.yml
vendored
6
.github/workflows/preview.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- name: Get Preview Metadata
|
- name: Get Preview Metadata
|
||||||
if: ${{ success() && github.repository == 'GeyserMC/Geyser' && github.ref_name == 'master' }}
|
if: success()
|
||||||
# See https://github.com/Kas-tle/base-release-action/releases/tag/main-11
|
# See https://github.com/Kas-tle/base-release-action/releases/tag/main-11
|
||||||
uses: Kas-tle/base-release-action@664c39985eb9d0d393ce98e7eb8414d3d98e762a # main-11
|
uses: Kas-tle/base-release-action@664c39985eb9d0d393ce98e7eb8414d3d98e762a # main-11
|
||||||
with:
|
with:
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
saveMetadata: true
|
saveMetadata: true
|
||||||
updateReleaseData: false
|
updateReleaseData: false
|
||||||
- name: Update Generated Metadata
|
- name: Update Generated Metadata
|
||||||
if: ${{ success() && github.repository == 'GeyserMC/Geyser' && github.ref_name == 'master' }}
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
cat metadata.json
|
cat metadata.json
|
||||||
echo
|
echo
|
||||||
|
@ -75,7 +75,7 @@ jobs:
|
||||||
| {$project, "repo", $version, "number": $number | tonumber, "changes": [], "downloads"}
|
| {$project, "repo", $version, "number": $number | tonumber, "changes": [], "downloads"}
|
||||||
' | tee metadata.json
|
' | tee metadata.json
|
||||||
- name: Publish to Downloads API
|
- name: Publish to Downloads API
|
||||||
if: ${{ success() && github.repository == 'GeyserMC/Geyser' && github.ref_name == 'master' }}
|
if: success()
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
DOWNLOADS_USERNAME: ${{ vars.DOWNLOADS_USERNAME }}
|
DOWNLOADS_USERNAME: ${{ vars.DOWNLOADS_USERNAME }}
|
||||||
|
|
Loading…
Reference in a new issue