mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-12 17:26:19 +00:00
Test disabling instant navigation to fix discourse embeds
This commit is contained in:
31
.github/notify-discord-new-recipe-request.yml
vendored
Normal file
31
.github/notify-discord-new-recipe-request.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Notify Discord of new recipe requests
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
assign-recipes-to-project:
|
||||
runs-on: ubuntu-latest
|
||||
name: notify Discord of new recipe request
|
||||
steps:
|
||||
- name: Discord notification
|
||||
if: |
|
||||
contains(github.event.issue.labels.*.name, 'recipe/request')
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
DISCORD_EMBEDS: |
|
||||
{
|
||||
"description": "{{ EVENT_PAYLOAD.title }}",
|
||||
"url": "{{ EVENT_PAYLOAD.url }}",
|
||||
"color": 7418285,
|
||||
"author": {
|
||||
"name": "${{github.sender.login}}",
|
||||
"url": "${{github.sender.html_url}}",
|
||||
"icon_url": "${{github.sender.avatar_url}}"
|
||||
}
|
||||
uses: Ilshidur/action-discord@master@0.3.0
|
||||
with:
|
||||
args: The [Geek's Cookbook](https://geek-cookbook.funkypenguin.co.nz) has a new recipe request!
|
||||
@@ -181,11 +181,11 @@ theme:
|
||||
favicon: 'images/site-logo.svg'
|
||||
features:
|
||||
- navigation.tabs
|
||||
- navigation.instant
|
||||
# - navigation.instant
|
||||
- navigation.tabs.sticky
|
||||
- navigation.sections
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
# - search.highlight
|
||||
- search.share
|
||||
icon:
|
||||
repo: 'fontawesome/brands/github'
|
||||
|
||||
Reference in New Issue
Block a user