setup-forgejo/.forgejo/workflows/forgejo.sh

29 lines
816 B
Bash
Raw Permalink Normal View History

on:
push:
paths:
- forgejo.sh
- .forgejo/workflows/forgejo-sh.yml
pull_request:
paths:
- forgejo.sh
- .forgejo/workflows/forgejo-sh.yml
jobs:
forgejo-sh:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- run: |
set -x
export PATH=$(pwd):$PATH
forgejo-dependencies.sh install_docker
(
echo codeberg.org/forgejo/forgejo 1.19.4-0
echo codeberg.org/forgejo/forgejo 1.20.5-0
2023-11-09 10:01:56 -05:00
echo codeberg.org/forgejo-experimental/forgejo 1.21.0-7-rc2
) | while read url version ; do
echo "=========================== launching forgejo v$version =========="
forgejo.sh setup root admin1234 $url $version
forgejo.sh teardown
done