Spaces:
Running
Running
| # ⚠️ 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 |