Spaces:
Running
Running
Harun
commited on
Create deploy-to-spaces.yml
Browse files
.github/workflows/deploy-to-spaces.yml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Deploy to Spaces
|
2 |
+
on:
|
3 |
+
push:
|
4 |
+
branches: [main]
|
5 |
+
|
6 |
+
jobs:
|
7 |
+
deploy:
|
8 |
+
runs-on: ubuntu-latest
|
9 |
+
steps:
|
10 |
+
- uses: actions/checkout@v2
|
11 |
+
- name: Deploy to Spaces
|
12 |
+
uses: huggingface/deploy-to-spaces@main
|
13 |
+
with:
|
14 |
+
space-id: "yourusername/ai-dungeon-game"
|
15 |
+
token: ${{ secrets.HF_TOKEN }}
|