mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 16:31:50 +01:00
Fix github pages request
This commit is contained in:
parent
0426b1c402
commit
056efc14d8
@ -62,5 +62,5 @@ after_success:
|
||||
--body="$(git log -1 --format='Commited at %ci by **%cn** in commit %h%n### %s%n```%n%b%n```%n') $(if [ '$buildType' = 'Common' ]; then echo 'This is a prerelease with only the common resolutions.'; fi)" \
|
||||
$([ "$buildType" = "Common" ] && echo "--prerelease=true" || echo "--prerelease=false") \
|
||||
$([ "$buildType" = "Common" ] && echo "graphicPacksCommon_$TRAVIS_BUILD_NUMBER"".zip" || echo "graphicPacks$TRAVIS_BUILD_NUMBER""_Uncommon.zip")
|
||||
# Request a new Github Pages build when all the releases are present so that the links will be updated.
|
||||
- if [ "$buildType" = "Uncommon" ]; then 'curl -X POST --header \"Accept: application/vnd.github.mister-fantastic-preview+json\" -u slashiee:$GITHUB_TOKEN https://api.github.com/repos/slashiee/cemu_graphic_packs/pages/builds'; fi
|
||||
# Request a new Github Pages build when all the releases are present so that the links will be updated. Need to use a seperate file due to weird yaml parsing.
|
||||
- sh requestGithubPages.sh
|
||||
|
2
requestGithubPages.sh
Executable file
2
requestGithubPages.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
if [ "$buildType" = "Uncommon" ]; then curl -X POST --header "Accept: application/vnd.github.mister-fantastic-preview+json" -u slashiee:$GITHUB_TOKEN https://api.github.com/repos/slashiee/cemu_graphic_packs/pages/builds; fi
|
Loading…
Reference in New Issue
Block a user