Add initialSearchTerm
prop (#32)
#62
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: Deploy | |
defaults: | |
run: | |
working-directory: example | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: 🌐 Deploy demo to Github Pages | |
steps: | |
- name: 📥 Checkout the repository | |
uses: actions/checkout@v3 | |
- name: 🛠️ Set up Node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: 📦 Install dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: example | |
- name: 🏗️ Build | |
run: npm run build | |
- name: 🌐 Deploy to gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./example/dist |