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