Spaces:
Sleeping
Sleeping
Rupali Ravindra Shetye commited on
Commit ·
f62e6bb
1
Parent(s): 68cab3b
Add GitHub deployment status for Hugging Face Space
Browse files
.github/workflows/deployment-status.yml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Update Deployment Status
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches: [ main ]
|
| 6 |
+
|
| 7 |
+
permissions:
|
| 8 |
+
deployments: write
|
| 9 |
+
contents: read
|
| 10 |
+
|
| 11 |
+
jobs:
|
| 12 |
+
create-deployment:
|
| 13 |
+
runs-on: ubuntu-latest
|
| 14 |
+
steps:
|
| 15 |
+
- name: Create GitHub Deployment
|
| 16 |
+
uses: chrnorm/deployment-action@v2
|
| 17 |
+
with:
|
| 18 |
+
token: ${{ secrets.GITHUB_TOKEN }}
|
| 19 |
+
environment: "Hugging Face Spaces"
|
| 20 |
+
environment-url: "https://huggingface.co/spaces/ShetyeRupa/DocIntel"
|
| 21 |
+
description: "Live demo on Hugging Face Spaces"
|
| 22 |
+
initial-status: "success"
|