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
15 changes: 14 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,23 @@ on:
pull_request:
branches: [main]

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

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build-and-deploy:
runs-on: ubuntu-latest


environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ This project is automatically deployed to GitHub Pages. Every push to the `main`
1. Push this code to your GitHub repository
2. Go to your repository settings
3. Scroll down to the "Pages" section
4. Under "Source", select "GitHub Actions"
4. Under "Build and deployment", set:
- Source: "GitHub Actions"
- Branch: "main", "/ (root)"
5. The site will be published automatically after the next push to `main`

Note: You must configure GitHub Pages in your repository settings before the first deployment will succeed.

The site will be available at: `https://yourusername.github.io/repository-name`

### Local Development
Expand Down
Loading