Skip to content

Commit

Permalink
Fix folder issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusey committed Jan 14, 2025
1 parent 0f326f4 commit a2144a5
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,20 @@ jobs:
mkdir -v -p build/web
godot --headless --verbose --export-release "Web" build/web/index.html
ls -lah build/web
# - name: Netlify headers
# run: |
# cat <<EOF > build/web/_headers
# /*
# Cross-Origin-Opener-Policy: same-origin
# Cross-Origin-Embedder-Policy: require-corp
# Access-Control-Allow-Origin: *
# EOF
# cat build/web/_headers
- name: Netlify headers
run: |
cd ./game
cat <<EOF > build/web/_headers
/*
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp
Access-Control-Allow-Origin: *
EOF
cat build/web/_headers
- name: Deploy artifacts to `artifacts` branch
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: ./build/web
FOLDER: ./game/build/web
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a2144a5

Please sign in to comment.