From 856917dadcb2f5c4f9aa9570cbee139a81ee998a Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 26 Apr 2024 12:29:23 +0000 Subject: [PATCH] .forgejo/workflows/demo.yml aktualisiert --- .forgejo/workflows/demo.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index f36945d..f8485de 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -1,16 +1,17 @@ on: [push] jobs: ls: - runs-on: docker - steps: - - name: Manually checkout - 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 }} + runs-on: ubuntu-latest + container: + image: git.php.fail/lubiana/container/php + - name: Manually checkout + 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