Compare commits
24 Commits
9aaa8ccffd
...
master
Author | SHA1 | Date | |
---|---|---|---|
a57b418315 | |||
72ed82e9d2 | |||
6be6f2a284 | |||
e7895ccb25 | |||
d0c1a7db9c | |||
8979c01add | |||
580bb090c7 | |||
7aab3c6020 | |||
59fad6234f | |||
5217ce85a3 | |||
51ef4d7824 | |||
e0f0deeb6e | |||
5b1f07baad | |||
78cd11b00f | |||
524b7f91e1 | |||
70508d7912 | |||
16aa89c6e9 | |||
5f667fe093 | |||
6fc4e9f8e3 | |||
09488e609b | |||
a859655e97 | |||
2dcc9f85cd | |||
9cdf77e5bb | |||
a19d1d17f8 |
22
.drone.yml
Normal file
22
.drone.yml
Normal 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
|
||||||
|
|
34
.github/workflows/gh-pages.yml
vendored
34
.github/workflows/gh-pages.yml
vendored
@@ -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
|
|
@@ -1,6 +1,8 @@
|
|||||||
# My github.io
|
# My github.io
|
||||||
|
[](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?
|
||||||
|
|
||||||
|
@@ -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.
BIN
static/duolingo-xp-exploit.webm
Normal file
BIN
static/duolingo-xp-exploit.webm
Normal file
Binary file not shown.
Reference in New Issue
Block a user