test/.forgejo/workflows/demo.yml
Workflow config file is invalid. Please check your config file: yaml: line 3: did not find expected key

17 lines
490 B
YAML

on: [push]
jobs:
ls:
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