Compare commits

..

24 Commits

Author SHA1 Message Date
a57b418315 Update README and password reset
All checks were successful
continuous-integration/drone Build is passing
2024-08-09 13:37:48 +00:00
72ed82e9d2 📑 Add CI status badge in README.md
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 09:41:50 +00:00
6be6f2a284 💪 Migrate from github CI to self hosted Drone CI
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 05:42:03 +00:00
e7895ccb25 CI
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/github-io Build is passing
2023-02-06 05:37:13 +00:00
d0c1a7db9c Fix
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 05:34:06 +00:00
8979c01add 🧙 CI Wizard
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 05:30:11 +00:00
580bb090c7 Drone CI!~
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 05:28:01 +00:00
7aab3c6020 🔑 SSH keyscan
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 05:17:10 +00:00
59fad6234f Fix
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 05:11:18 +00:00
5217ce85a3 Simlify and fix SSH
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-02-06 05:09:35 +00:00
51ef4d7824 YAML is 💩
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 05:07:46 +00:00
e0f0deeb6e Build AND publish in custom hugo docker image
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-02-06 05:06:15 +00:00
5b1f07baad That may just do it
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 04:52:47 +00:00
78cd11b00f 📦️ Drone CI volumes
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 04:50:09 +00:00
524b7f91e1 🥰 Build and publish with self hosted CI!~
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 04:42:47 +00:00
70508d7912 ㊙️
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 04:33:59 +00:00
16aa89c6e9 🔏 Private registry pull
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-02-06 04:32:04 +00:00
5f667fe093 🌀 Let's try a custom docker image
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-02-06 04:23:18 +00:00
6fc4e9f8e3 🥴 Official hugo docker images sucks
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 04:14:15 +00:00
09488e609b Specify command for hugo
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-02-06 04:09:51 +00:00
a859655e97 🚫 Drone hugo plugin -> official hugo docker image
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 04:06:59 +00:00
2dcc9f85cd Remove drone hugo plugin validate aswell
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 03:59:39 +00:00
9cdf77e5bb 🔧 Fix drone by setting hugo version
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 03:57:12 +00:00
a19d1d17f8 🤖🚁 Drone CI!
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-06 03:52:11 +00:00
6 changed files with 26 additions and 34 deletions

22
.drone.yml Normal file
View File

@@ -0,0 +1,22 @@
---
kind: pipeline
type: docker
name: build and publish
steps:
- name: build and publish
image: registry.42069.no/build/hugo
environment:
KEY:
from_secret: key
commands:
- mkdir ~/.ssh && echo "$KEY" > ~/.ssh/id_rsa && chmod 600 -R ~/.ssh
- hugo -e prod --printI18nWarnings --printUnusedTemplates --templateMetricsHints
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- git clone --branch gh-pages git@github.com:Ghost-Zephyr/Ghost-Zephyr.github.io.git github
- rm -fr github/* && cp -r public/* github/
- cd github/ && git add -A && git commit -m "Drone CI!~ $(git rev-parse --short HEAD)" && git push
image_pull_secrets:
- registry

View File

@@ -1,34 +0,0 @@
name: GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Git Checkout
uses: actions/checkout@v2
with:
# submodules: true
fetch-depth: 0
- name: npm install
uses: bahmutov/npm-install@v1
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Build
run: hugo -e prod --minify --baseURL https://io.sivert.pw
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

View File

@@ -1,6 +1,8 @@
# My github.io # My github.io
[![Build Status](https://drone.42069.no/api/badges/siv/github.io/status.svg)](https://drone.42069.no/siv/github.io)
I've converted this page to a [hugo](https://gohugo.io/) generated static webpage. I've converted this page to a [hugo](https://gohugo.io/) generated static webpage.
Will hopefully use it as a portfolio and blog. Will hopefully use it as a portfolio and blog.
How exciting? How exciting?

View File

@@ -40,6 +40,8 @@ mount -t tmpfs tmpfs /mnt/run
The options -R and -t for mount are short hands for \-\-rbind and \-\-types respectively. The options -R and -t for mount are short hands for \-\-rbind and \-\-types respectively.
NOTE: if you're reinstalling an UEFI boot manager you'll likely need a `mount -t efivarfs efivarfs /mnt/sys/firmware/efi/efivars` too.
## Fixing ## Fixing
For doing the password reset or other operations on the installation other than simple file edits, you just chroot into the installation. For doing the password reset or other operations on the installation other than simple file edits, you just chroot into the installation.

Binary file not shown.

Binary file not shown.