diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index a43e8ff..f58d46b 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -43,7 +43,9 @@ jobs: import Pkg; Pkg.instantiate(); - include("./generate.jl")' + include("./generate.jl") + + cp("./netlify.toml", "./_site/netlify.toml")' - uses: actions/upload-artifact@v2 diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..0ee17cd --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[[headers]] + for = "/*" + [headers.values] + Access-Control-Allow-Origin = "*"