From ae3802cf7cb7b5ff9871e954a402a96c26c3a731 Mon Sep 17 00:00:00 2001 From: Whipstickgostop <8366326+Whipstickgostop@users.noreply.github.com> Date: Fri, 8 Dec 2023 12:44:21 -0500 Subject: [PATCH] update deploy configs --- .github/workflows/deploy-speakerbot.yml | 23 +++++++++++++++++++ .../{deploy.yml => deploy-streamerbot.yml} | 4 +++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy-speakerbot.yml rename .github/workflows/{deploy.yml => deploy-streamerbot.yml} (85%) diff --git a/.github/workflows/deploy-speakerbot.yml b/.github/workflows/deploy-speakerbot.yml new file mode 100644 index 00000000..b16c5d6c --- /dev/null +++ b/.github/workflows/deploy-speakerbot.yml @@ -0,0 +1,23 @@ +name: Deploy Speaker.bot Docs + +on: + workflow_dispatch: + repository_dispatch: + types: + - deploy + push: + branches: + - main + paths: + - 'speakerbot/**' + +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - name: Create repository dispatch event + env: + GITHUB_TOKEN: ${{ secrets.DEPLOY_GH_TOKEN }} + run: | + gh api repos/Whipstickgostop/speaker-docs/dispatches \ + --raw-field event_type=deploy \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy-streamerbot.yml similarity index 85% rename from .github/workflows/deploy.yml rename to .github/workflows/deploy-streamerbot.yml index f77c5e39..a936f522 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy-streamerbot.yml @@ -1,4 +1,4 @@ -name: deploy +name: Deploy Streamer.bot Docs on: workflow_dispatch: @@ -8,6 +8,8 @@ on: push: branches: - main + paths: + - 'streamerbot/**' jobs: deploy: