github.com/gofiber/fiber/v2@v2.47.0/.github/workflows/sync-docs.yml (about) 1 name: 'Sync docs' 2 3 on: 4 push: 5 branches: 6 - master 7 - main 8 paths: 9 - 'docs/**' 10 release: 11 types: [published] 12 13 jobs: 14 sync-docs: 15 runs-on: ubuntu-latest 16 steps: 17 - name: Checkout 18 uses: actions/checkout@v3 19 with: 20 ref: ${{ github.event.pull_request.head.sha }} 21 fetch-depth: 2 22 23 - name: Sync docs 24 run: ./.github/scripts/sync_docs.sh 25 env: 26 EVENT: ${{ github.event_name }} 27 TOKEN: ${{ secrets.TOKEN }}