From 19139be91acf0d8efbe5a09a4d5b05ff37fea823 Mon Sep 17 00:00:00 2001 From: FarisZR <35614734+FarisZR@users.noreply.github.com> Date: Sat, 3 Feb 2024 17:11:03 +0100 Subject: [PATCH] [skipc ci] update file structure to match host. --- .github/workflows/discourse-db.yml | 7 +++---- .github/workflows/discourse.yml | 5 ++--- discourse/{ => containers}/app.yml | 0 discourse/{ => containers}/db.yml | 0 4 files changed, 5 insertions(+), 7 deletions(-) rename discourse/{ => containers}/app.yml (100%) rename discourse/{ => containers}/db.yml (100%) diff --git a/.github/workflows/discourse-db.yml b/.github/workflows/discourse-db.yml index dd01aa9..acebfae 100644 --- a/.github/workflows/discourse-db.yml +++ b/.github/workflows/discourse-db.yml @@ -1,4 +1,4 @@ -name: deploy-discourse +name: deploy-discourse-db on: push: @@ -47,7 +47,6 @@ jobs: uses: FarisZR/Tailscale-ssh-deploy@main with: remote_host: ${{ secrets.server_address }} - directory: discourse - args: -p caddy up -d --remove-orphans + directory: discourse/containers post_upload_command: /home/aosus/discourse/launcher rebuild db - remote_destination: /home/aosus/discourse/containers \ No newline at end of file + remote_destination: /home/aosus/discourse \ No newline at end of file diff --git a/.github/workflows/discourse.yml b/.github/workflows/discourse.yml index 043d7ac..22d7f33 100644 --- a/.github/workflows/discourse.yml +++ b/.github/workflows/discourse.yml @@ -47,7 +47,6 @@ jobs: uses: FarisZR/Tailscale-ssh-deploy@main with: remote_host: ${{ secrets.server_address }} - directory: discourse - args: -p caddy up -d --remove-orphans + directory: discourse/containers post_upload_command: /home/aosus/discourse/launcher rebuild app - remote_destination: /home/aosus/discourse/containers \ No newline at end of file + remote_destination: /home/aosus/discourse \ No newline at end of file diff --git a/discourse/app.yml b/discourse/containers/app.yml similarity index 100% rename from discourse/app.yml rename to discourse/containers/app.yml diff --git a/discourse/db.yml b/discourse/containers/db.yml similarity index 100% rename from discourse/db.yml rename to discourse/containers/db.yml