Add Thermal YoloV6 (people+vehicles) (#36) #130
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: Main workflow | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
blobconverter: | |
name: Update BlobConverter API | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send update | |
run: curl https://blobconverter.luxonis.com/update | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
if: ${{ github.ref == 'refs/heads/main' }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- run: npm install | |
working-directory: website | |
- run: npm run build | |
working-directory: website | |
- run: python3 -m pip install -r requirements.txt | |
working-directory: website | |
- run: python3 populate_website.py && ls -lah ./public | |
working-directory: website | |
- name: Deploy | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./website/public | |
cname: zoo.luxonis.com |