try fix netlify search function #143
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: SimplePipeline | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
LintTestAndDeploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
- name: Install Netlify CLI | |
run: npm install -g netlify-cli | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Linting | |
run: npm run lint | |
- name: Run Tests | |
run: npm test | |
- name: Deploy | |
run: npm run deploy:prod | |
env: | |
CI: true | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} |