Merge pull request #221 from malloydata/michaelbooth/typo-fixes #49
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "true" | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: Install | |
| run: npm ci --loglevel error | |
| - name: Build and Test | |
| run: | | |
| git config --global user.email "malloy-ci-bot@malloydata.org" | |
| git config --global user.name "Malloy CI Bot" | |
| npm run build-prod | |
| echo "docs.malloydata.dev" > docs/CNAME | |
| git checkout -b docs-release | |
| git add -f docs/ | |
| git commit -m "Docs Release" | |
| git push -f origin docs-release |