Skip to content

Commit

Permalink
checkpoint 7
Browse files Browse the repository at this point in the history
  • Loading branch information
wilcorrea committed Apr 8, 2024
1 parent dedafc1 commit 208616a
Show file tree
Hide file tree
Showing 10 changed files with 115 additions and 98 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_SUPABASE_URL=https://*.supabase.co
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.*
VITE_SUPABASE_URL=https://<project>.supabase.co
VITE_SUPABASE_ANON_KEY=<your-anon-key>

VITE_DEFAULT_API_URL=http://localhost:5174
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- "main"

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

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/[email protected]
with:
path: dist
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PHPinga</title>
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">-->
<link
rel="stylesheet"
href="/assets/style/bootswatch/materia.min.css"
>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- <link-->
<!-- rel="stylesheet"-->
<!-- href="/assets/style/bootswatch/materia.min.css"-->
<!-- >-->
<meta content="PHPinga" property="og:site_name">
<meta content="PHPinga" property="og:title">
<meta content="article" property="og:type">
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "0.0.0",
"type": "module",
"homepage": "https://phpcomrapadura.github.io/quiz",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down
1 change: 0 additions & 1 deletion src/app/Domain/Game/Answer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ export default interface Answer {
text: string
correct: boolean
createdAt: Date
updatedAt: Date
}
Loading

0 comments on commit 208616a

Please sign in to comment.