.forgejo/workflows/demo.yml aktualisiert
Some checks are pending
Build / BuildAndDeploy (push) Waiting to run
Some checks are pending
Build / BuildAndDeploy (push) Waiting to run
This commit is contained in:
parent
856917dadc
commit
2aefc244f5
1 changed files with 21 additions and 16 deletions
|
@ -1,17 +1,22 @@
|
|||
on: [push]
|
||||
name: Build
|
||||
run-name: ${{ gitea.actor }} Builder
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
ls:
|
||||
runs-on: ubuntu-latest
|
||||
BuildAndDeploy:
|
||||
runs-on: docker
|
||||
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
|
||||
image: git.php.fail/lubiana/container/hugogit
|
||||
steps:
|
||||
- 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 }}
|
Loading…
Reference in a new issue