Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9da5c9936a | ||
|
|
ba1077b0c8 | ||
|
|
7997a5b895 | ||
|
|
6756fb5af6 | ||
|
|
3e078bf55f | ||
|
|
fab68f78fb | ||
|
|
af3694f0ef | ||
|
|
46c6f9037e | ||
|
|
31a552963f | ||
|
|
a2dc744551 | ||
|
|
868c11507c | ||
|
|
6fa9f7b09f | ||
|
|
cc261d6aaa | ||
|
|
5487b22a4f | ||
|
|
631eb1219a | ||
|
|
d3b327afc0 | ||
|
|
0fe3cf6682 | ||
|
|
1dbbb4a325 | ||
|
|
e0e562be5e | ||
|
|
844ad3b9ac | ||
|
|
6242a1f876 | ||
|
|
201ba2ef75 | ||
|
|
2c9eef4749 | ||
|
|
0f2d9a4dc1 | ||
|
|
8513bd9ac5 | ||
|
|
990640b79a | ||
|
|
e4dffe1d19 | ||
|
|
db9373b9f8 | ||
|
|
bfd686f940 | ||
|
|
2ef57de694 | ||
|
|
c76df05651 | ||
|
|
195def9964 | ||
|
|
7edaf1993f | ||
|
|
1a201a554a | ||
|
|
f11331d900 | ||
|
|
3f3d2d7c41 | ||
|
|
d4bc6b0a00 | ||
|
|
eb70525934 | ||
|
|
1f9042cb72 | ||
|
|
cf537b1488 | ||
|
|
af883f2f6e | ||
|
|
fc16fb4046 | ||
|
|
7481185e14 | ||
|
|
54cb434cd3 | ||
|
|
49aeb6e4af | ||
|
|
d3681e8b7b | ||
|
|
9b7e73029a | ||
|
|
1a2e6feb52 | ||
|
|
c859780f74 | ||
|
|
dd9e97016c | ||
|
|
82b5a211b4 | ||
|
|
83e5be25e3 | ||
|
|
e326ae01d7 | ||
|
|
0576d99b9d | ||
|
|
c4785c3f7e | ||
|
|
053b5784aa | ||
|
|
543522ea7f | ||
|
|
d92074b59b | ||
|
|
537dcd6536 | ||
|
|
8ff3722780 | ||
|
|
479a4d8ebc | ||
|
|
ffd9b46bd8 | ||
|
|
fd70e7a0fa
|
@@ -1,34 +1,62 @@
|
||||
name: Hugo CD
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./
|
||||
run:
|
||||
working-directory: ./
|
||||
|
||||
jobs:
|
||||
cd:
|
||||
timeout-minutes: 6
|
||||
name: CD
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
- name: Build
|
||||
run: hugo -D -F
|
||||
- name: Create GitHub deployment
|
||||
uses: chrnorm/deployment-action@releases/v1
|
||||
id: deployment
|
||||
with:
|
||||
token: "${{ github.token }}"
|
||||
target_url: https://maik.dev/
|
||||
environment: production
|
||||
initial_status: "success"
|
||||
build:
|
||||
timeout-minutes: 6
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
|
||||
- name: Upload deployment
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: public-html
|
||||
path: ./public
|
||||
|
||||
deploy:
|
||||
timeout-minutes: 6
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: production
|
||||
url: https://maik.dev/
|
||||
steps:
|
||||
- name: Download deployment
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: public-html
|
||||
path: ./public-html
|
||||
|
||||
- name: Setup SSH config for remote server
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
echo "${{ secrets.SSH_HOST }} ssh-ed25519 ${{ secrets.SSH_HOST_KEY }}" > ~/.ssh/known_hosts
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
|
||||
- name: Transfer deployment to remote server
|
||||
run: |
|
||||
rsync -avh --delete-after ./public-html/ ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:~/maik.dev
|
||||
|
||||
@@ -1,32 +1,34 @@
|
||||
name: Hugo CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
- "*/*"
|
||||
- "**"
|
||||
- "!master"
|
||||
pull_request:
|
||||
branches:
|
||||
- "master"
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
- "*/*"
|
||||
- "**"
|
||||
- "!master"
|
||||
pull_request:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./
|
||||
run:
|
||||
working-directory: ./
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
timeout-minutes: 5
|
||||
name: CI
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
- name: Build
|
||||
run: hugo -D -F
|
||||
ci:
|
||||
timeout-minutes: 5
|
||||
name: CI
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo -D -F
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
+++
|
||||
author = "Maik de Kruif"
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
description = ""
|
||||
images = []
|
||||
tags = [
|
||||
"untagged",
|
||||
]
|
||||
categories = [
|
||||
"uncategorized",
|
||||
]
|
||||
+++
|
||||
@@ -1,13 +0,0 @@
|
||||
+++
|
||||
author = "Maik de Kruif"
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
description = ""
|
||||
images = []
|
||||
tags = [
|
||||
"untagged",
|
||||
]
|
||||
categories = [
|
||||
"uncategorized",
|
||||
]
|
||||
+++
|
||||
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 5.2 MiB |
|
After Width: | Height: | Size: 572 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 630 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 610 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 969 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 823 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 2.8 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 863 KiB |
|
After Width: | Height: | Size: 363 KiB |
|
After Width: | Height: | Size: 339 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 333 KiB |
|
After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 2.2 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 662 KiB |
|
After Width: | Height: | Size: 322 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 634 KiB |
|
After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 2.6 MiB |
|
After Width: | Height: | Size: 586 KiB |
|
After Width: | Height: | Size: 607 KiB |
|
After Width: | Height: | Size: 564 KiB |
|
After Width: | Height: | Size: 107 KiB |
|
After Width: | Height: | Size: 607 KiB |
|
After Width: | Height: | Size: 548 KiB |
|
After Width: | Height: | Size: 493 KiB |
|
After Width: | Height: | Size: 506 KiB |
|
After Width: | Height: | Size: 582 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 601 KiB |
|
After Width: | Height: | Size: 685 KiB |
|
After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 2.8 MiB |
|
After Width: | Height: | Size: 315 KiB |
|
After Width: | Height: | Size: 525 KiB |
|
After Width: | Height: | Size: 2.6 MiB |
|
After Width: | Height: | Size: 2.2 MiB |
|
After Width: | Height: | Size: 2.7 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 25 KiB |