-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from ritsec/02-23-Fix_broken_build
Fix broken build + Build Action
- Loading branch information
Showing
5 changed files
with
128 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Build Jekyll site | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Build | ||
uses: actions/jekyll-build-pages@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# ritsec.github.io | ||
|
||
Website for RITESC. Built using [Jekyll](https://jekyllrb.com/) | ||
|
||
## Development | ||
|
||
### Install Ruby | ||
|
||
#### Method 1 - `rbenv` (Recommended) | ||
|
||
1. Install `rbenv` with your package manager (see [here](https://github.com/rbenv/rbenv?tab=readme-ov-file#using-package-managers)) | ||
2. Install the proper `ruby` version with `rbenv install` | ||
|
||
#### Method 2 - Manual Installation | ||
|
||
> ⚠️ **Be sure to check the [`.ruby-version`](./.ruby-version) file to ensure you're installing the correct Ruby version** | ||
You can install Ruby manually using the instructions found [here](https://www.ruby-lang.org/en/documentation/installation/). | ||
|
||
### Install dependencies | ||
|
||
Install [`bundler`](https://bundler.io/) to easily install all of the dependency gems: | ||
|
||
```shell | ||
gem install bundler | ||
bundle | ||
``` | ||
|
||
### Development Server | ||
|
||
To start up the dev server (runs locally on `http://127.0.0.1:4000`) run: | ||
|
||
```shell | ||
bundle exec jekyll serve | ||
``` | ||
|
||
### Development Build | ||
|
||
To generate a static build of the site run: | ||
|
||
```shell | ||
bundle exec jekyll build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters