.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
- name: Manually checkout steps:
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
- run: ls git checkout ${{ github.head_ref }}
- run: env | sort