Skip to content

fixed OAuth security dangers #150

fixed OAuth security dangers

fixed OAuth security dangers #150

Workflow file for this run

name: Deploy static site from /web to GitHub Pages
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Copy only the /web folder into dist for publishing
- name: Prepare static site folder
run: |
mkdir -p dist
cp -R web/* dist/
# Avoid Jekyll processing (important for underscores)
- name: Add .nojekyll
run: |
touch dist/.nojekyll
- uses: actions/upload-pages-artifact@v3
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4