futtern/.forgejo/workflows/release.yml

24 lines
607 B
YAML
Raw Normal View History

2024-06-22 19:47:23 +00:00
on:
release
jobs:
ls:
runs-on: docker
container:
image: git.php.fail/lubiana/container/php:ci
steps:
- name: Manually checkout
env:
REPO: '${{ github.repository }}'
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
BRANCH: '${{ env.GITHUB_REF_NAME }}'
GIT_SERVER: 'hannover.ccc.de/gitlab'
run: |
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
git fetch
git checkout ${{ github.head_ref }}
2024-06-22 20:20:51 +00:00
- name: prepare deploy
run: sh ./deploy/prepare-deploy.sh