Spaces:
Running
Running
File size: 353 Bytes
e095266 9d21261 e095266 838b498 e095266 3480cbe e095266 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#!/bin/sh
# ⚠️ This is a bad idea
# PROBLEM 1: How do you get the token?
# You would have to save your GITHUB_TOKEN as a plain-text HF Secret.
# This is very insecure!
# Or, if you already cloned in the Dockerfile, you'd do a pull:
# This still needs the token to be saved as a secret.
git pull origin main
npm update
# Then run your app
npm start |