Skip to content

ci: deploy set && avatar components change #18

ci: deploy set && avatar components change

ci: deploy set && avatar components change #18

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install dependencies
run: yarn
- name: Build your project
run: yarn run docs:build
- name: Remove ~demos/:id
run: rm -rf ./docs-dist/~demos/:id
- name: Show build output directory
run: ls -la ./docs-dist
- name: Upload build artifact
uses: actions/upload-pages-artifact@v1
with:
name: github-pages
path: ./docs-dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3