Skip to content

Release feishu-pages 0.5.7 #18

Release feishu-pages 0.5.7

Release feishu-pages 0.5.7 #18

on:
push:
branches:
- main
- release-pages
permissions:
contents: read
pages: write
id-token: write
jobs:
feishu-pages:
name: Publish Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: dist/.cache
key: cache-dist
- name: Exporting
env:
FEISHU_APP_ID: ${{ secrets.FEISHU_APP_ID }}
FEISHU_APP_SECRET: ${{ secrets.FEISHU_APP_SECRET }}
FEISHU_SPACE_ID: '7273324757679325186'
OUTPUT_DIR: ./dist
BASE_URL: https://longbridgeapp.github.io/feishu-pages/
uses: longbridgeapp/feishu-pages@main
- name: Build Website
run: |
cp -r dist/docs/* website/docs/
cp dist/docs.json website/
yarn
yarn workspace website build
yarn autocorrect --fix website/
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './website/.vitepress/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2