search and remove github from navbar #541
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 Frontend | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
name: Deploy frontend | |
runs-on: macos-latest | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
workflow_id: 42688838 | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v4 | |
- name: Cache ~/.npm for npm ci | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: ${{ runner.os }}-node | |
- uses: AmyrAhmady/[email protected] | |
- name: Build frontend | |
run: | | |
cd frontend | |
npm i | |
npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: frontend/build | |
single-commit: true |