Skip to content

docs:trans arduino picture to webp #883

docs:trans arduino picture to webp

docs:trans arduino picture to webp #883

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'