.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] on: [push]
jobs: jobs:
ls: ls:
runs-on: docker runs-on: ubuntu-latest
steps: container:
- name: Manually checkout image: git.php.fail/lubiana/container/php
env: - name: Manually checkout
REPO: '${{ github.repository }}' env:
TOKEN: '${{ secrets.GITHUB_TOKEN }}' REPO: '${{ github.repository }}'
GIT_SERVER: 'git.php.fail' TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: | GIT_SERVER: 'git.php.fail'
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git . - run: |
git fetch git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git .
git checkout ${{ github.head_ref }} git fetch
git checkout ${{ github.head_ref }}
- run: ls - run: ls
- run: env | sort - run: env | sort