Merge remote-tracking branch 'refs/remotes/origin/main' #9
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
# deploys to https://opensearch-project.github.io/opensearch-api-specification/ | |
name: Deploy to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: pages | |
cancel-in-progress: false | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
bundler-cache: true | |
- name: Build with Jekyll | |
run: |- | |
gem install jekyll | |
jekyll build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: _site | |
branch: gh-pages | |