From ebcf0794dcba22a6d33cc67d10962b5a4e020545 Mon Sep 17 00:00:00 2001 From: ZILECAO Date: Fri, 14 Jun 2024 01:24:32 -0400 Subject: [PATCH] add: _headers --- .github/workflows/static.yml | 8 +++++--- _headers | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 _headers diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 60a169c..061b911 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -24,8 +24,10 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ./ - working-directory: ./ + path: | + index.html + _headers + godot/web_export/ - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/_headers b/_headers new file mode 100644 index 0000000..6e0d001 --- /dev/null +++ b/_headers @@ -0,0 +1,3 @@ +/* + Cross-Origin-Opener-Policy: same-origin + Cross-Origin-Embedder-Policy: require-corp \ No newline at end of file