This repository has been archived on 2024-10-20. You can view files and clone it, but cannot push or open issues or pull requests.
forge_server/.gitea/workflows/ci.yaml

25 lines
663 B
YAML
Raw Permalink Normal View History

2024-03-29 00:02:19 +01:00
name: Forge Server CI
run-name: Running build for ${{ gitea.actor }}
on: [push]
jobs:
main:
runs-on: ubuntu-latest
2024-03-29 12:22:34 +01:00
container: docker
2024-03-29 00:02:19 +01:00
steps:
2024-03-29 12:24:21 +01:00
- name: Install Dependencies
2024-03-29 12:26:15 +01:00
run: |
apk update
apk add --upgrade nodejs
2024-03-29 12:13:56 +01:00
- name: Checkout Code
2024-03-29 12:13:30 +01:00
uses: actions/checkout@v3
2024-03-29 12:13:56 +01:00
- name: Run Minecraft Docker Server
2024-03-29 12:22:34 +01:00
run: |
2024-03-29 13:11:08 +01:00
docker volume create --driver local --opt type=none --opt device=/workspace/KomuSolutions/forge_server --opt o=bind forge_volume
2024-03-29 13:10:36 +01:00
docker inspect forge_volume
2024-03-29 12:37:51 +01:00
ls
pwd
2024-03-29 12:22:34 +01:00
cd .gitea
2024-03-29 12:37:51 +01:00
docker compose up
2024-03-29 12:46:41 +01:00
cd ..
2024-03-29 12:45:17 +01:00
tree