ci #41
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: ci | |
# Author: @MikeRalphson | |
# Issue : n/a | |
# Desc : This workflow runs the weekly build | |
# run this on push to main, manually and scheduled | |
on: | |
schedule: | |
- cron: '55 23 * * 0' | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm ci | |
- run: npm run build.data | |
- run: npm run build.site | |
- run: git add docs | |
- run: git config user.email "[email protected]" | |
- run: git config user.name "Mike Ralphson" | |
- run: 'git commit -m "build: deploy docs"' | |
- run: git push | |