.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,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