Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4535ef1
setup build and deploy to github pages workflow
ascibisz Jan 22, 2025
51ccbed
setup build and deploy to github pages workflow
ascibisz Jan 22, 2025
77abe61
Merge branch 'main' of https://github.com/mesoscope/cellpack-client i…
rugeli Jan 29, 2025
819f8b1
Merge branch 'feature/deploy-to-gh-pages' of https://github.com/mesos…
rugeli Jan 29, 2025
ad32a80
add missing firebase dependency
ascibisz Jan 29, 2025
fed58d5
add start script
ascibisz Jan 29, 2025
eed23b2
try setting private to false
ascibisz Jan 30, 2025
67b11b3
use different deploy action so we can specify folder
ascibisz Jan 30, 2025
6acf629
give permissions to action
ascibisz Jan 30, 2025
eb9751a
try removing some steps that aren't included in documentation?
ascibisz Jan 30, 2025
089e82b
add setup pages step back
ascibisz Jan 30, 2025
54de489
try breaking github pages stuff into two separate jobs
ascibisz Jan 30, 2025
739b25c
Revert "try removing some steps that aren't included in documentation?"
ascibisz Jan 30, 2025
ec5dd5a
try to trigger new deploy
ascibisz Jan 30, 2025
09324d6
try breaking up github pages deploy into two steps
ascibisz Jan 30, 2025
cfea070
use valid upload-artifact version
ascibisz Jan 30, 2025
8226746
use updated version of download artifact
ascibisz Jan 30, 2025
ba939e1
change artifact name
ascibisz Jan 30, 2025
6616a96
add absolute path
ascibisz Jan 30, 2025
676c49b
revert accidental changes
ascibisz Jan 30, 2025
c0f93a5
Github Pages workflow is working here
ascibisz Jan 30, 2025
7c621ef
try only givin gworkflow read access
ascibisz Jan 31, 2025
1d5146c
set title to CellPACK
ascibisz Jan 31, 2025
2e71d9b
try doing build and deploy together, without upload / download steps
ascibisz Jan 31, 2025
f26a3fd
fix capitalization in cellPACK
ascibisz Jan 31, 2025
92bcc78
try pulling out workflow_dispatch, since it's not doing anything
ascibisz Jan 31, 2025
7c5763f
undo some of the chagnes to package.json from debugging
ascibisz Feb 3, 2025
b73df23
remove test branch, add blank line at end of file
ascibisz Feb 3, 2025
0e62046
use deploy-pages (#13)
rugeli Feb 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Simple workflow for deploying static content to GitHub Pages
# Adapted from vite.dev
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']

permissions:
contents: write
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Bun
uses: oven-sh/setup-bun@v2

- name: Install
run: bun install

- name: Build with Vite
run: bun run build --base=/cellpack-client

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<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>cellPACK</title>
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"firebase": "^11.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down