-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add condition on "deploy" step to only trigger on forks (#32)
see DISCLAIMER comment add required secrets in comment On main branch the condition on the deploy step was: github.event_name == 'push' || github.event_name == 'workflow_dispatch' It must be resolved given that we want to avoid triggering on forks (due to possibly missing secrets leading to failing workflow) it then become: (github.event_name == 'push' && github.event.repository.fork == 'false') || github.event_name == 'workflow_dispatch' <==> If it is a classic push: - on fork *do not* trigger deployment - on base repo trigger deployment But if it is manually triggered, execute deployment step anyway maybe we're on fork maybe we're not but this is user triggered so it the user's responsability anyway.
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
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
Submodule poison
updated
15 files
+47 β85 | README.md | |
+1 β1 | assets/css/custom.css | |
+2 β62 | assets/css/poison.css | |
+0 β1 | assets/css/poole.css | |
+0 β3 | layouts/_default/single.html | |
+3 β13 | layouts/about/about.html | |
+0 β4 | layouts/index.html | |
+3 β7 | layouts/partials/head/css.html | |
+103 β30 | layouts/partials/head/meta.html | |
+26 β50 | layouts/partials/post/info.html | |
+0 β50 | layouts/partials/post/listmonk_email_newsletters.html | |
+1 β1 | layouts/partials/sidebar/copyright.html | |
+1 β1 | layouts/partials/sidebar/socials.html | |
+1 β5 | layouts/partials/sidebar/title.html | |
+2 β8 | layouts/shortcodes/mermaid.html |