Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Made GitHub Releases trigger on BuildCompletion, added update submodules command and add publish script for VPS. #120

Merged
merged 2 commits into from
Sep 15, 2019

Conversation

EraYaN
Copy link
Contributor

@EraYaN EraYaN commented Sep 15, 2019

As you can see, the builds do trigger correctly, but skip the GitHub Release: https://dev.azure.com/jellyfin-project/jellyfin/_build/results?buildId=783

Also it does not update the submodule to latest master.

Added VPS script to be run inside jellyfin.github.io repo (with write access and setup as jellyfin-bot)

#!/bin/bash

# Download the latest release.
curl -s https://api.github.com/repos/jellyfin/jellyfin-docs/releases/latest | grep "browser_download_url.*docs-.*\.tar\.gz" | cut -d : -f 2,3 | tr -d \" | wget -O /tmp/docs.tar.gz -qi -
# Clean any old files
rm -rf docs/

mkdir -p docs/
pushd docs
# Extract the files
tar -xzf /tmp/docs.tar.gz
popd
git add docs/
git commit -m "CI Documentation update"
git push origin

@EraYaN EraYaN changed the title Made GitHub Releases trigger on BuildCompletion and added update submodules command. Made GitHub Releases trigger on BuildCompletion and added update submodules command, and add publish script for VPS. Sep 15, 2019
@EraYaN EraYaN changed the title Made GitHub Releases trigger on BuildCompletion and added update submodules command, and add publish script for VPS. Made GitHub Releases trigger on BuildCompletion, added update submodules command and add publish script for VPS. Sep 15, 2019
@EraYaN EraYaN added the CI/project This issues pertains to CI or other project configuration. label Sep 15, 2019
@EraYaN EraYaN merged commit 53659f6 into jellyfin-archive:master Sep 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI/project This issues pertains to CI or other project configuration.
Development

Successfully merging this pull request may close these issues.

2 participants