test/.forgejo/workflows/demo.yml
lubiana 40a88d4382
Some checks are pending
/ ls (push) Waiting to run
.forgejo/workflows/demo.yml aktualisiert
2024-04-26 12:22:00 +00:00

16 lines
450 B
YAML

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 }}
- run: ls
- run: env | sort