Skip to content

Commit a580c82

Browse files
committed
add latest pages configs
1 parent eff4263 commit a580c82

File tree

89 files changed

+116
-7209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+116
-7209
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
33

44
on:
5-
# Runs on pushes targeting the default branch
65
push:
7-
branches: ["master"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
6+
branches: ["main"]
107
workflow_dispatch:
118

129
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -15,25 +12,40 @@ permissions:
1512
pages: write
1613
id-token: write
1714

18-
# Allow one concurrent deployment
1915
concurrency:
2016
group: "pages"
2117
cancel-in-progress: true
2218

2319
jobs:
24-
# Build job
2520
build:
2621
runs-on: ubuntu-latest
2722
steps:
2823
- name: Checkout
2924
uses: actions/checkout@v3
25+
- name: setup ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: 2.7.0
29+
- name: cache gems
30+
uses: actions/cache@v2
31+
with:
32+
path: vendor/bundle
33+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
34+
restore-keys: ${{ runner.os }}-gems-
35+
36+
- name: bundle install
37+
run: |
38+
bundle config set --local path 'vendor/bundle'
39+
bundle install --jobs 4 --retry 3
40+
bundle clean
41+
3042
- name: Setup Pages
3143
uses: actions/configure-pages@v2
32-
- name: Build with Jekyll
33-
uses: actions/jekyll-build-pages@v1
34-
with:
35-
source: ./
36-
destination: ./_site
44+
45+
- name: bundle install
46+
run: |
47+
JEKYLL_ENV=production bundle exec jekyll build
48+
3749
- name: Upload artifact
3850
uses: actions/upload-pages-artifact@v1
3951

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
_site
2+
.DS_Store
3+
.jekyll
4+
.jekyll-metadata
5+
.bundle
6+
.sass-cache
7+
vendor
8+
Gemfile.lock
9+
node_modules
10+
package.json

ETS website maintenance howto.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
# Echothrust Solutions website maintenance HOWTO
25

36
This is a small howto on how we perform scheduled maintenance on our websites that require a database update or re-import.

Environment variables and how to get them.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Environment variables and how to get them
33
author: Pantelis Roditis <proditis[at]echothrust.com>
44
date: 04/06/2021
55
category: paper
6+
collection: paper
67
layout: post
78
---
89

Generate nmap reports.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
# Generate nmap Reports
25
The following document describes a simple procedure to perform and compare network scans to detect anomalies.
36

Git Workflows.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
# Git Workflows
25
## Forks workflow
36
1. Go to the original project and click fork

Github Packages.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
# Github Packages
25
## [Publishing images to GitHub Packages](https://docs.github.com/en/actions/guides/publishing-docker-images#publishing-images-to-github-packages)
36

Guides/General things to know about CVS.md

Lines changed: 0 additions & 174 deletions
This file was deleted.

Guides/General things to know about GIT.md

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)