Skip to content

Commit

Permalink
Move to netlify deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy-Gonzalez committed Jan 23, 2025
1 parent c0bcec9 commit 2d90158
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/admin_ci.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Admin HackIllinois CI

on:
push:
branches: [ "master" ]
branches: [ "main" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]
types:
- closed

Expand Down
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@

HackIllinois' admin site

# Deploying
# Setup

Since this is a private repo, we use manual deployment to netlify.
Install dependencies with:
```sh
npm install
```

**Note: Make sure you build without the .env locally, or the token will be included in the build.**
You can verify you haven't made this mistake by ensuring the app prompts a login on start.
# Developing

To run locally, run:
```sh
npm run dev
```

Any changes pushed to `main` will be build by netlify to https://admin.hackillinois.org/

To do so:
1. Run `npm build`
2. Copy the `netlify.toml` into the `build/` folder (`cp netlify.toml build/`)
3. Upload the `build/` folder to netlify

0 comments on commit 2d90158

Please sign in to comment.