Skip to content

GitHub Actions ​

Feishu Pages is designed to be used in conjunction with continuous integration processes such as GitHub Actions and GitLab CI. This way, we can achieve Feishu Docs changes by setting up periodicity or Webhook triggering, and trigger the action of document automatic publication.

Installation ​

Add to your GitHub project .github/workflows/feishu-pages.yml

yaml
on:
  push:
jobs:
  feishu-pages:
    name: Feishu Pages Export
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/cache@v3
        with:
          path: dist/.cache
          key: cache-dist
      - name: Setup node
        env:
          FEISHU_APP_ID: ${{ secrets.FEISHU_APP_ID }}
          FEISHU_APP_SECRET: ${{ secrets.FEISHU_APP_SECRET }}
          FEISHU_SPACE_ID: ${{ secrets.FEISHU_SPACE_ID }}
        uses: longbridgeapp/feishu-pages@main