Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 0 additions & 18 deletions .github/dependabot.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/codacy.yml

This file was deleted.

100 changes: 0 additions & 100 deletions .github/workflows/codeql.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy to GitHub Pages

on:
push:
branches: [ master ] # Trigger the workflow on pushes to the main branch
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
env:
GEMINI_API_KEY: ${{ secrets.VITE_GEMINI_API_KEY }} # Use the secret here
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist' # The folder Vite builds to

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
37 changes: 22 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# backend/.gitignore
venv/
__pycache__/
*.pyc
*.pyo
.env
.flaskenv # Bazen hassas bilgi içerebilir
uploads/
output/
instance/ # Flask instance folder
*.sqlite3 # Eğer veritabanı kullanırsanız
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# Kök .gitignore (gerekirse ekler)
.vscode/
.idea/
*.log
node_modules
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Loading
Loading