Update .gitea/workflows/demo.yml
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 16s

This commit is contained in:
Jonas 2024-02-16 20:49:32 +00:00
parent 6802954d5c
commit 5be2683194

View file

@ -7,10 +7,14 @@ jobs:
- run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: env
- name: Check out repository code
uses: actions/checkout@v4
with:
github-server-url: 'https://hannover.ccc.de/gitlab'
- name: Manually checkout
env:
REPO: '${{ github.repository }}'
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
git clone https://${TOKEN}@hannover.ccc.de/gitlab/${REPO}.git .
git fetch
git checkout ${{ github.head_ref }}
- run: echo " The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo " The workflow is now ready to test your code on the runner."
- name: List files in the repository