Skip to content

Commit

Permalink
ci: update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DorielRivalet committed Nov 9, 2022
1 parent cce3818 commit eefa289
Showing 3 changed files with 22 additions and 17 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/discord-webhook-notifier.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
- name: Actions Status Discord
uses: sarisia/actions-status-discord@v1.10.1-pre.0
if: success()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "`MHF-Z Overlay` Status"
description: |
New commit
Click [here](https://github.com/DorielRivalet/MHFZ_Overlay/blob/main/CHANGELOG.md) to view changelog!
image: ${{ secrets.EMBED_IMAGE }}
color: 0xff435d
username: GitHub Actions
avatar_url: ${{ secrets.AVATAR_URL }}
name: Actions Status Discord
on: push

jobs:
actions-status-discord:
runs-on: ubuntu-latest
steps:
- uses: sarisia/actions-status-discord@v1.10.1-pre.0
if: success()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "`MHF-Z Overlay` Status"
description: |
New commit
Click [here](https://github.com/DorielRivalet/MHFZ_Overlay/blob/main/CHANGELOG.md) to view changelog!
image: ${{ secrets.EMBED_IMAGE }}
color: 0xff435d
username: GitHub Actions
avatar_url: ${{ secrets.AVATAR_URL }}
5 changes: 2 additions & 3 deletions .github/workflows/github-status.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: build

name: Github Status
on: push

jobs:
build:
github-status:
runs-on: ubuntu-latest
steps:
-
2 changes: 1 addition & 1 deletion .github/workflows/sonarqube-scan.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Build
on:
push:
branches:
- master # or the name of your main branch
- main # or the name of your main branch
jobs:
build:
name: Build

0 comments on commit eefa289

Please sign in to comment.