Skip to content

Merge pull request #103 from zwyzwm/main #949

Merge pull request #103 from zwyzwm/main

Merge pull request #103 from zwyzwm/main #949

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
pages: write
id-token: write
jobs:
build-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: |
python3 contributors.py $GITHUB_REPOSITORY ${{ github.token }}
yarn install
yarn build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: "./build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
if: github.event_name != 'pull_request'