From 234bc3b25f3435aac40cfd4c3b3722f9d4461754 Mon Sep 17 00:00:00 2001 From: SethCohen Date: Wed, 24 Aug 2022 01:46:57 -0400 Subject: [PATCH] chore: updated workflow actions --- .../workflows/github-release-to-discord.yml | 15 +++++++++++++++ .github/workflows/main.yml | 18 ------------------ 2 files changed, 15 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/github-release-to-discord.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/github-release-to-discord.yml b/.github/workflows/github-release-to-discord.yml new file mode 100644 index 0000000..67f0270 --- /dev/null +++ b/.github/workflows/github-release-to-discord.yml @@ -0,0 +1,15 @@ +on: + release: + types: [published] +name: github-release-to-discord +jobs: + github-release-to-discord: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Github Releases To Discord + uses: SethCohen/github-release-to-discord@v1.12.0 + id: release + with: + webhook_url: ${{ secrets.WEBHOOK_URL }} \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index afec9b1..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -on: - release: - types: [published] -name: github-release-to-discord -jobs: - github-release-to-discord: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Handle Release - uses: ./ # Uses an action in the root directory - id: release - with: - webhook_url: ${{ secrets.WEBHOOK_URL }} - color: "2105893" - username: "Release Changelog" - avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" \ No newline at end of file