.forgejo/workflows/demo.yml aktualisiert
This commit is contained in:
parent
40a88d4382
commit
856917dadc
1 changed files with 12 additions and 11 deletions
|
@ -1,16 +1,17 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
ls:
|
ls:
|
||||||
runs-on: docker
|
runs-on: ubuntu-latest
|
||||||
steps:
|
container:
|
||||||
- name: Manually checkout
|
image: git.php.fail/lubiana/container/php
|
||||||
env:
|
- name: Manually checkout
|
||||||
REPO: '${{ github.repository }}'
|
env:
|
||||||
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
REPO: '${{ github.repository }}'
|
||||||
GIT_SERVER: 'git.php.fail'
|
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
run: |
|
GIT_SERVER: 'git.php.fail'
|
||||||
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git .
|
- run: |
|
||||||
git fetch
|
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git .
|
||||||
git checkout ${{ github.head_ref }}
|
git fetch
|
||||||
|
git checkout ${{ github.head_ref }}
|
||||||
- run: ls
|
- run: ls
|
||||||
- run: env | sort
|
- run: env | sort
|
||||||
|
|
Loading…
Reference in a new issue