13 lines
296 B
YAML
13 lines
296 B
YAML
name: "Shell Checkout"
|
|
description: "Checkout a repo using shell"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- run: |
|
|
git init
|
|
git remote add origin "$GITEA_SERVER_URL/$GITEA_REPOSITORY"
|
|
git fetch origin "$GITEA_REF"
|
|
git checkout "$GITEA_REF_NAME"
|
|
shell: bash
|
|
|