From 33675e1dd019cbec5c3ded38be69f057e64e9bfc Mon Sep 17 00:00:00 2001 From: Tulis12 Date: Wed, 27 May 2026 16:27:21 +0200 Subject: [PATCH 1/2] fix: missed up the path to the `path.txt` file --- run-nitrox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-nitrox.sh b/run-nitrox.sh index c26ce8e..f860628 100755 --- a/run-nitrox.sh +++ b/run-nitrox.sh @@ -18,4 +18,4 @@ done # Start the server executable echo "Starting the Nitrox server..." cd /config -SUBNAUTICA_INSTALLATION_PATH="$(cat /path.txt)" exec ./Nitrox.Server.Subnautica --save "${SUBNAUTICA_SAVE:-"My World"}" # Got this from Procesmon, this works +SUBNAUTICA_INSTALLATION_PATH="$(cat /config/path.txt)" exec ./Nitrox.Server.Subnautica --save "${SUBNAUTICA_SAVE:-"My World"}" # Got this from Procesmon, this works From d97e0641f60e5ace8238086903078b52bee676db Mon Sep 17 00:00:00 2001 From: Tulis12 Date: Wed, 27 May 2026 16:30:47 +0200 Subject: [PATCH 2/2] feat: allow manual starts of a workflow, change the names --- .github/workflows/docker-image.yml | 12 ++++++++---- .github/workflows/pull_request_test.yml | 18 +++++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 6607c48..c8c88f1 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,14 +1,18 @@ -name: Docker Image CI +name: Docker Image CI (main push) on: + workflow_dispatch: + inputs: + runner: + required: false + default: ubuntu-latest + description: The runner of the workflow push: branches: [ "main" ] jobs: - build: - - runs-on: ubuntu-latest + runs-on: ${{ github.event_name == 'workflow_dispatch' && inputs.runner || 'ubuntu-latest' }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pull_request_test.yml b/.github/workflows/pull_request_test.yml index 7ae8606..73bb32c 100644 --- a/.github/workflows/pull_request_test.yml +++ b/.github/workflows/pull_request_test.yml @@ -1,17 +1,21 @@ -name: Docker Image CI +name: Docker Image CI - Test pull requests on: + workflow_dispatch: + inputs: + runner: + required: false + default: ubuntu-latest + description: The runner of the workflow pull_request: branches: [ "main" ] jobs: - build: - - runs-on: ubuntu-latest + runs-on: ${{ github.event_name == 'workflow_dispatch' && inputs.runner || 'ubuntu-latest' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag fuzzystatic/nitrox-server:latest + - name: Build the Docker image + run: docker build . --file Dockerfile --tag fuzzystatic/nitrox-server:latest