Update Nightly Versions #188
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: Update Nightly Versions | |
on: | |
schedule: | |
# This runs at 12:00 UTC every day Monday through Friday | |
- cron: '0 12 * * 1-5' | |
# Option to run the workflow manually | |
workflow_dispatch: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
update-nightly-versions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- uses: ./.github/actions/setup-node | |
with: | |
install: false | |
- name: Run Script | |
run: | | |
pnpm install | |
pnpm docs:update:nightly --from-workflow |