Skip to content

ci(deployment): simplify GitHub Pages workflow for static site #37

ci(deployment): simplify GitHub Pages workflow for static site

ci(deployment): simplify GitHub Pages workflow for static site #37

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Trigger workflow on push to the main branch
permissions:
contents: write
pages: write
id-token: write # Required for GitHub Pages deployment via Actions
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Upload Files for Deployment
uses: actions/upload-pages-artifact@v2
with:
path: ./ # Upload the entire repository's content
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2