BC-6938 - randomize cronJob execution point (#5143) #14060
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to GitHub Pages | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: write | |
jobs: | |
publish-nest-documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛠 | |
uses: actions/checkout@v4 | |
- name: Generate documentation 🤖 | |
run: npm run nest:docs:build | |
- name: Deploy 🚀 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder the action should deploy. |