Skip to content

6.58.11

6.58.11 #279

name: 'CI (DiscordIntegration)'
on:
push:
paths:
- 'DiscordIntegration/**'
branches:
- 'master'
pull_request:
paths:
- 'DiscordIntegration/**'
types:
- opened
- synchronize
release:
types:
- created
workflow_dispatch:
jobs:
build:
uses: SlashNephy/Divination/.github/workflows/reusable-build-plugin.yml@master
with:
plugin-name: 'DiscordIntegration'
working-directory: 'DiscordIntegration'
permissions:
contents: read
actions: write
deploy:
if: github.event_name != 'pull_request'
needs: build
uses: SlashNephy/Divination/.github/workflows/reusable-deploy-plugin.yml@master
with:
plugin-name: 'DiscordIntegration'
secrets:
DEPLOY_GITHUB_TOKEN: '${{ secrets.DEPLOY_GITHUB_TOKEN }}'
permissions:
actions: read