mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 22:40:58 -05:00
13 lines
599 B
YAML
13 lines
599 B
YAML
on: [ push ]
|
|
jobs:
|
|
integration:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: |
|
|
set -x
|
|
echo deb http://deb.debian.org/debian bullseye-backports main | tee /etc/apt/sources.list.d/backports.list && apt-get update
|
|
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --quiet -y -t bullseye-backports git docker.io
|
|
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo:1.19
|
|
./forgejo-runner.sh setup
|
|
testdata/run.sh main http://root:admin1234@$(cat forgejo-ip):3000 root demo
|