forked from claw/flaskpaste
ci: ensure git is available in deploy job
This commit is contained in:
@@ -287,6 +287,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
command -v git >/dev/null 2>&1 || {
|
||||
apt-get update -qq && apt-get install -yqq --no-install-recommends git >/dev/null
|
||||
}
|
||||
git clone --depth 1 --branch "${GITHUB_REF_NAME}" \
|
||||
"https://oauth2:${{ github.token }}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user