17 lines
717 B
YAML
17 lines
717 B
YAML
on: [push]
|
|
jobs:
|
|
ls:
|
|
runs-on: docker
|
|
container:
|
|
image: git.php.fail/lubiana/container/php:8.2
|
|
steps:
|
|
- run: env | sort
|
|
- run: /usr/bin/git init $GITHUB_WORKSPACE
|
|
- run: echo $GITHUB_WORKSPACE
|
|
- run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
|
- run: echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
|
- run: /usr/bin/git config --local gc.auto 0
|
|
- run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\""
|
|
- run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME
|
|
- run: echo $GIHUB_REF_NAME
|
|
|