diff --git a/.github/workflows/Example.yml b/.github/workflows/Example.yml
index 43f71767..372efc9f 100644
--- a/.github/workflows/Example.yml
+++ b/.github/workflows/Example.yml
@@ -53,7 +53,7 @@ jobs:
echo "starting gif fixing"
mv examples/src/gif_*.gif examples/src/${{ matrix.file-name }}_files
$env:Path += ";C:\Program Files\Git\usr\bin"
- awk '{if($0~//) {sub(//,\"![gif](gif_\"++i\".gif)\")}}1' examples/src/${{ matrix.file-name }}.md > examples/src/tmp_${{ matrix.file-name }}.md
+ awk '{if($0~//) {sub(//,\"![gif](${{ matrix.file-name }}_files\/gif_\"++i\".gif)\")}}1' examples/src/${{ matrix.file-name }}.md > examples/src/tmp_${{ matrix.file-name }}.md
mv -Force examples/src/tmp_${{ matrix.file-name }}.md examples/src/${{ matrix.file-name }}.md
echo "gifs should be fixed"
diff --git a/docs/make.jl b/docs/make.jl
index 48dd1b4e..dff67df1 100644
--- a/docs/make.jl
+++ b/docs/make.jl
@@ -36,7 +36,7 @@ makedocs(sitename="FMIFlux.jl",
function deployConfig()
github_repository = get(ENV, "GITHUB_REPOSITORY", "")
github_event_name = get(ENV, "GITHUB_EVENT_NAME", "")
- if github_event_name == "workflow_run"
+ if github_event_name == "workflow_run" || github_event_name == "repository_dispatch"
github_event_name = "push"
end
github_ref = get(ENV, "GITHUB_REF", "")