Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Nov 21, 2024
1 parent 762de72 commit 592ab87
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ jobs:
mkdir -p ../../gh-pages/${{ matrix.app }}
cp -R dist/* ../../gh-pages/${{ matrix.app }}
- name: Checkout existing gh-pages
uses: actions/checkout@v3
with:
ref: gh-pages
path: gh-pages-existing

- name: Merge new builds with existing
run: |
cp -R gh-pages-existing/* gh-pages || true
cp -R gh-pages/* gh-pages-existing
mv gh-pages-existing gh-pages
- name: Deploy to GitHub Pages
if: ${{ matrix.app == 'core-connection' }} # Deploy after the last app
uses: peaceiris/actions-gh-pages@v3
Expand Down
4 changes: 2 additions & 2 deletions examples/email/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Email</title>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit 592ab87

Please sign in to comment.