Skip to content

Commit

Permalink
Revert dist location for now
Browse files Browse the repository at this point in the history
Back on dx binstall 0.5.7
  • Loading branch information
samtay committed Sep 2, 2024
1 parent bd4bb67 commit cc787f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,16 @@ jobs:

# Fixup index.html (see https://github.com/DioxusLabs/dioxus/issues/2847)
- name: Fixup index.html
working-directory: app/dist
run: |
cd dist
for f in *.css; do
sed -i "/<\/head>/i <link rel=\"stylesheet\" href=\"/$(basename "$f")\">" index.html
done
sed -i 's/<html>/<html lang="en">/' index.html
# Create our required `404.html` page.
- name: Create 404.html
working-directory: app
run: cp dist/index.html dist/404.html

- uses: supabase/setup-cli@v1
Expand All @@ -92,6 +93,6 @@ jobs:
uses: JamesIves/[email protected]
with:
branch: static-develop # The branch we have GitHub pages setup in.
folder: dist # The folder we want to copy to the `gh-pages` branch.
folder: app/dist # The folder we want to copy to the `gh-pages` branch.
target-folder: . # The destination we want our files copied to. In this case, we want them to be a the root level.
clean: true

0 comments on commit cc787f8

Please sign in to comment.