ci deploy: instructions for GitPython
parent
85cf2a4a54
commit
6ecf147d2b
|
@ -4,12 +4,22 @@ import sys
|
|||
import os
|
||||
import os.path
|
||||
import pickle
|
||||
import git
|
||||
import requests
|
||||
import shlex
|
||||
import subprocess
|
||||
import time
|
||||
|
||||
try:
|
||||
import git
|
||||
except ImportError:
|
||||
print("Need GitPython:")
|
||||
print("* Arch: pacman -S python-gitpython")
|
||||
print("* Debian: apt install python3-git")
|
||||
print("* Pip: pip install GitPython")
|
||||
print("* Source: https://github.com/gitpython-developers/GitPython")
|
||||
print()
|
||||
raise
|
||||
|
||||
|
||||
ASSETS_FILES = [
|
||||
".github/workflows/assets.yml",
|
||||
|
@ -36,6 +46,7 @@ ASSETS_BUILD_URL = "https://api.github.com/repos/ornicar/lila/actions/workflows/
|
|||
|
||||
SERVER_BUILD_URL = "https://api.github.com/repos/ornicar/lila/actions/workflows/server.yml/runs"
|
||||
|
||||
|
||||
def asset_profile(ssh, *,
|
||||
artifact_dir="/home/lichess-artifacts",
|
||||
deploy_dir="/home/lichess-deploy",
|
||||
|
|
Loading…
Reference in New Issue