Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-42 committed Dec 6, 2023
2 parents a440bf7 + 2a7bc05 commit fd702d2
Show file tree
Hide file tree
Showing 5 changed files with 137 additions and 104 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Fetch Database
name: Publish Website

on:
schedule:
- cron: 0 0 * * *
push:
branches:
- main
paths-ignore:
- "*.md"
- "LICENSE"
- ".gitignore"
workflow_dispatch:

permissions:
Expand Down
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# Dredge Mods Website
A website for the [DREDGE mod manager](https://github.com/xen-42/DredgeModManager) generated off of the [DREDGE mod database](https://github.com/xen-42/DredgeModDatabase).
A website for DREDGE mods.

### Development
npm install
npm run dev
The site contains a list of all mods generated off of the [DREDGE mod database](https://github.com/xen-42/DredgeModDatabase). A page is created for each mod with some general info (author, download count, description), and the body of the page will display the readme from that mod's GitHub repo.

The site is also meant to direct users to the [DREDGE mod manager](https://github.com/xen-42/DredgeModManager), which is used to install and manage mods from the database.

## Development

To build and deploy locally, run:

`npm install`

`npm run dev`

To build mod pages locally first cd into the scripts folder then run:

`npm install`

`npm run test`

Don't do it too often to not get rate limited by Github.
188 changes: 89 additions & 99 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"host": "astro dev --host",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
Expand Down
Loading

0 comments on commit fd702d2

Please sign in to comment.