.github/workflows/main.yml #20961
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
on: | |
push: | |
branches: | |
- "main" | |
schedule: | |
# At minute 0 past every hour | |
# https://crontab.guru/#0_*/1_*_*_* | |
- cron: "0 */1 * * *" | |
workflow_dispatch: | |
jobs: | |
discord_guardian_job: | |
runs-on: ubuntu-latest | |
name: Discord Guardian Job | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Discord Guardian Action | |
uses: daltonmenezes/discord-guardian-action@v1.1.0 | |
id: discord | |
with: | |
name: 'Dalton Menezes' | |
email: 'daltonmenezes@outlook.com' | |
directory: domains | |
myDomainList: domains/my-domains.json | |