Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sajjadrahman56 authored Dec 25, 2023
1 parent 5e5f7d4 commit 3cee22c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Deploy to Streamlit
name: Setup Environment

on:
push:
branches:
- main

jobs:
deploy:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -25,10 +27,3 @@ jobs:
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- name: Deploy to Streamlit
env:
API_KEY: ${{ secrets.API_KEY }}
run: |
. venv/bin/activate
streamlit run app.py

0 comments on commit 3cee22c

Please sign in to comment.