.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]
jobs:
ls:
runs-on: docker
steps:
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: |
- run: |
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git .
git fetch
git checkout ${{ github.head_ref }}