Remove CircleCI config, cleanup
This commit is contained in:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -532,7 +532,7 @@ jobs:
|
||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||
color: "#00C07F"
|
||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build succeeded."
|
||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build succeeded"
|
||||
|
||||
- name: Notify Discord (failure)
|
||||
uses: appleboy/discord-action@master
|
||||
@@ -541,18 +541,4 @@ jobs:
|
||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||
color: "#FF6562"
|
||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build failed."
|
||||
|
||||
test-notify-discord:
|
||||
runs-on: ubuntu-16.04
|
||||
if: always()
|
||||
steps:
|
||||
|
||||
- name: Notify Discord
|
||||
uses: appleboy/discord-action@master
|
||||
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
|
||||
with:
|
||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||
color: "#00C07F"
|
||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build message test."
|
||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build failed"
|
||||
|
||||
Reference in New Issue
Block a user