Skip to content

Commit

Permalink
added CNAME for custom domain
Browse files Browse the repository at this point in the history
  • Loading branch information
nobleknightt committed Nov 23, 2024
1 parent 55ba544 commit ee1407c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
env:
VITE_API_URL: ${{ vars.VITE_API_URL }}
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ dist-ssr
*.sw?

# Environment Variables
# .env
.env
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
contests.ajaydandge.dev
1 change: 0 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: '/contests/',
assetsInclude: ['**/*.png']
})

0 comments on commit ee1407c

Please sign in to comment.