.forgejo/workflows/demo.yml aktualisiert
Some checks are pending
Build / BuildAndDeploy (push) Waiting to run

This commit is contained in:
lubiana 2024-04-26 12:31:10 +00:00
parent 856917dadc
commit 2aefc244f5

View file

@ -1,17 +1,22 @@
on: [push] name: Build
run-name: ${{ gitea.actor }} Builder
on:
push:
branches:
- main
jobs: jobs:
ls: BuildAndDeploy:
runs-on: ubuntu-latest runs-on: docker
container: container:
image: git.php.fail/lubiana/container/php image: git.php.fail/lubiana/container/hugogit
steps:
- name: Manually checkout - name: Manually checkout
env: env:
REPO: '${{ github.repository }}' REPO: '${{ github.repository }}'
TOKEN: '${{ secrets.GITHUB_TOKEN }}' TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GIT_SERVER: 'git.php.fail' GIT_SERVER: 'git.php.fail'
- run: | run: |
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git . git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}${REPO}.git .
git fetch git fetch
git checkout ${{ github.head_ref }} git checkout ${{ github.head_ref }}
- run: ls
- run: env | sort