Skip to content

Commit

Permalink
add: _headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ZILECAO committed Jun 14, 2024
1 parent d826992 commit ebcf079
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions _headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp

0 comments on commit ebcf079

Please sign in to comment.