Spaces:
Paused
Paused
changed
Browse files
up.js
CHANGED
|
@@ -21,8 +21,8 @@ const push = async (username) => {
|
|
| 21 |
const token = process.env.TOKEN;
|
| 22 |
const repoUrl = "huggingface.co/spaces/"+username+"/"+process.env.REPO_NAME
|
| 23 |
|
|
|
|
| 24 |
console.log(await execute('git add .'))
|
| 25 |
-
console.log(await execute('git config --global --add safe.directory /app'))
|
| 26 |
console.log(await execute('git status'));
|
| 27 |
console.log(await execute(`git commit --allow-empty -m "changed"`));
|
| 28 |
console.log(await execute('git branch -M main'));
|
|
|
|
| 21 |
const token = process.env.TOKEN;
|
| 22 |
const repoUrl = "huggingface.co/spaces/"+username+"/"+process.env.REPO_NAME
|
| 23 |
|
| 24 |
+
console.log(await execute('git config --global --add safe.directory /app'))
|
| 25 |
console.log(await execute('git add .'))
|
|
|
|
| 26 |
console.log(await execute('git status'));
|
| 27 |
console.log(await execute(`git commit --allow-empty -m "changed"`));
|
| 28 |
console.log(await execute('git branch -M main'));
|