summaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy.yaml')
-rw-r--r--.github/workflows/deploy.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
new file mode 100644
index 0000000..5b36c8e
--- /dev/null
+++ b/.github/workflows/deploy.yaml
@@ -0,0 +1,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