Merge pull request #1 from nakira974/branches/dev #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ "trunk" ] | |
pull_request: | |
branches: [ "trunk" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create private vanilla folders | |
run: mkdir -p ./1.20.1/private/vanilla/.map/world | mkdir -p ./1.20.1/private/vanilla/.map/world_nether | mkdir -p ./1.20.1/private/vanilla/.map/world_the_end | |
- name: Create private spigot folders | |
run: mkdir -p ./1.20.1/private/spigot/.map/world | mkdir -p ./1.20.1/private/spigot/.map/world_nether | mkdir -p ./1.20.1/private/spigot/.map/world_the_end | |
- name: Create public anarchy.lavalawsless.com folders | |
run: mkdir -p ./1.20.1/public/anarchy.lavalawsless.com/.map/world | mkdir -p ./1.20.1/public/anarchy.lavalawsless.com/.map/world_nether | mkdir -p ./1.20.1/public/anarchy.lavalawsless.com/.map/world_the_end | |
- name: Compose Minecraft servers | |
run: docker compose -p minecraft-servers up -d |