.forgejo/workflows/demo.yml aktualisiert

This commit is contained in:
lubiana 2024-04-26 12:29:23 +00:00
parent 40a88d4382
commit 856917dadc

View file

@ -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 }}