Github asset release from Colab
Adding a file to a release
!pip install -q condacolab
import condacolab
condacolab.install()
!conda install gh --channel conda-forge
!pip install youtube-dl
!youtube-dl -i --write-sub --sub-lang ga -o '%(id)s.%(ext)s' PLbcLsUBW9b3BvuTbtMKBXmuyJq6Ygg3Rg
!ls ./*.vtt|zip subtitles.zip -@
from google.colab import files
files.download('subtitles.zip')
!ls ./*.mp4 ./*.mkv |zip videos.zip -@
!echo $KEY |gh auth login --with-token
!git clone $REPO
%cd $REPO
!gh release upload v0.1 ../videos.zip