This commit is contained in:
parent
db2cd33869
commit
40a88d4382
1 changed files with 10 additions and 6 deletions
|
@ -2,11 +2,15 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
ls:
|
ls:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
env:
|
|
||||||
KEY1: value1
|
|
||||||
HHH: ${{ secrets.HHH }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Manually checkout
|
||||||
- run: |
|
env:
|
||||||
|
REPO: '${{ github.repository }}'
|
||||||
|
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
|
GIT_SERVER: 'git.php.fail'
|
||||||
|
run: |
|
||||||
|
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git .
|
||||||
|
git fetch
|
||||||
|
git checkout ${{ github.head_ref }}
|
||||||
|
- run: ls
|
||||||
- run: env | sort
|
- run: env | sort
|
||||||
- run: echo ${{ secrets.HHH }}
|
|
Loading…
Reference in a new issue