whitphx HF staff commited on
Commit
ce3a6a5
1 Parent(s): a2daf69

Remove Heroku deployment

Browse files
Files changed (4) hide show
  1. .github/workflows/heroku.yml +0 -16
  2. Aptfile +0 -1
  3. Procfile +0 -1
  4. README.md +1 -37
.github/workflows/heroku.yml DELETED
@@ -1,16 +0,0 @@
1
- name: Deploy to Heroku
2
-
3
- on:
4
- push:
5
- branches: [ main ]
6
-
7
- jobs:
8
- deploy:
9
- runs-on: ubuntu-latest
10
- steps:
11
- - uses: actions/checkout@v2
12
- - uses: akhileshns/heroku-deploy@v3.8.9
13
- with:
14
- heroku_api_key: ${{secrets.HEROKU_API_KEY}}
15
- heroku_app_name: streamlit-webrtc-example
16
- heroku_email: ${{ secrets.HEROKU_EMAIL }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Aptfile DELETED
@@ -1 +0,0 @@
1
- libgl1
 
 
Procfile DELETED
@@ -1 +0,0 @@
1
- web: streamlit run --server.port $PORT app.py
 
 
README.md CHANGED
@@ -1,8 +1,6 @@
1
  # streamlit-webrtc-example
2
 
3
- Hosted on Streamlit Cloud: [![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py) https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py
4
-
5
- Hosted on Heroku: https://streamlit-webrtc-example.herokuapp.com/
6
 
7
  [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D2ERWFG)
8
 
@@ -12,38 +10,4 @@ Hosted on Heroku: https://streamlit-webrtc-example.herokuapp.com/
12
 
13
  ## Deployment notes
14
 
15
- The deployment to Heroku is automated with GitHub actions: [./.github/workflows/heroku.yml](./.github/workflows/heroku.yml).
16
-
17
  [Streamlit Cloud](https://streamlit.io/cloud) automatically triggers the deployment on its CI/CD.
18
-
19
- ## Manual deployment to heroku
20
- ### Prerequisites
21
- 1. Set up `heroku` command.
22
-
23
- 2. Add [`heroku-buildpack-apt`](https://github.com/heroku/heroku-buildpack-apt) to buildpacks.
24
- ```shell
25
- $ heroku buildpacks:add --index 1 heroku-community/apt
26
- ```
27
-
28
- See
29
- https://help.heroku.com/IYRYW6VB/how-do-i-install-additional-software-packages-that-my-application-requires
30
- and
31
- https://github.com/heroku/heroku-buildpack-apt
32
- for details.
33
-
34
- ### Deploy
35
- #### If dependencies have changed, update `requirements.txt`
36
- 1. Update `requirements.txt`.
37
- ```shell
38
- $ make deps/update
39
- ```
40
-
41
- 2. Commit it.
42
- ```shell
43
- $ git add requirements.txt
44
- $ git commit -m "requirements.txt"
45
- ```
46
- #### Deploy the current branch to Heroku
47
- ```shell
48
- $ git push heroku <current-branch>:main
49
- ```
 
1
  # streamlit-webrtc-example
2
 
3
+ Hosted on Streamlit Cloud: [![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py) https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py
 
 
4
 
5
  [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D2ERWFG)
6
 
 
10
 
11
  ## Deployment notes
12
 
 
 
13
  [Streamlit Cloud](https://streamlit.io/cloud) automatically triggers the deployment on its CI/CD.