WIP Devcontainer #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to Discord and other Tools | |
defaults: | |
run: | |
shell: bash | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
push_to_discord: | |
name: Push commit to discord | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
# https://github.com/marketplace/actions/discord-commits | |
- name: Discord Commits | |
uses: Sniddl/[email protected] | |
with: | |
webhook: ${{ secrets.DISCORD_PUSH_WEBHOOK }} | |
template: 'avatar-with-link' | |
include-extras: true | |
message: "New commit" | |