Merge pull request #333 from ErwonB/having_clause #133
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: Deploy GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| jekyll: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| - run: npm install | |
| - name: Publish parser on GitHub Pages | |
| run: | | |
| cp -r bindings queries src binding.gyp Cargo.toml \ | |
| CMakeLists.txt go.mod grammar.js LICENSE Makefile \ | |
| package.json Package.swift pyproject.toml setup.py \ | |
| tree-sitter.json \ | |
| docs | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.0 | |
| - uses: limjh16/jekyll-action-ts@v2 | |
| env: | |
| NODE_ENV: "production" | |
| with: | |
| enable_cache: true | |
| - name: 🚀 deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./_site | |
| publish_branch: gh-pages |