summaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yaml
blob: 5b36c8ea1e1a6b3ae2998f3004404c0d465cf5e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Deploy 🚀
on:
  push:
    branches:
      - main

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Cancel Previous Runs 🚫
        uses: styfle/[email protected]
        with:
          access_token: ${{ github.token }}

      - name: Checkout 🛎️
        uses: actions/[email protected]

      - name: Install and Build 🔧
        run: |
          pip install -r requirements.txt
          ivy build

      - name: Deploy 🚀
        uses: JamesIves/[email protected]
        with:
          branch: gh-pages
          folder: out