name: Forge Server CI
run-name: Running build for ${{ gitea.actor }}
on: [push]
jobs:
main:
runs-on: ubuntu-latest
container: docker
steps:
- name: Install Dependencies
run: |
apk update
apk add --upgrade nodejs
- name: Checkout Code
uses: actions/checkout@v3
- name: Run Minecraft Docker Server
docker volume create --driver local --opt type=none --opt device=/workspace/KomuSolutions/forge_server --opt o=bind forge_volume
docker inspect forge_volume
ls
pwd
cd .gitea
docker compose up
cd ..
tree