Skip to content

Update gh-pages.yml #19

Update gh-pages.yml

Update gh-pages.yml #19

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Change to the branch you want to use
jobs:
# Single deploy job no building
deploy:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
# upload entire directory
path: "."
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2