Skip to content

Commit e779e89

Browse files
author
f@bi.an
committed
Füge die Bearbeitungs-URI für die Dokumentation in mkdocs.yml hinzu.
1 parent 3a2ceef commit e779e89

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/workflows/publish-ghcr.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Publish to GitHub Container Registry
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-and-publish:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
packages: write
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v3
19+
20+
- name: Set up QEMU
21+
uses: docker/setup-qemu-action@v2
22+
23+
- name: Set up Docker Buildx
24+
uses: docker/setup-buildx-action@v2
25+
26+
- name: Log in to GitHub Container Registry
27+
uses: docker/login-action@v2
28+
with:
29+
registry: ghcr.io
30+
username: ${{ github.repository_owner }}
31+
password: ${{ secrets.GITHUB_TOKEN }}
32+
33+
- name: Docker meta
34+
id: meta
35+
uses: docker/metadata-action@v4
36+
with:
37+
images: ghcr.io/0xfab1/0xfab1.net
38+
39+
- name: Build and push Docker image
40+
uses: docker/build-push-action@v4
41+
with:
42+
context: .
43+
push: ${{ github.event_name != 'pull_request' }}
44+
tags: ${{ steps.meta.outputs.tags }}
45+
labels: ${{ steps.meta.outputs.labels }}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
site_name: "0xfab1"
22
site_url: https://0xfab1.net
33
repo_url: https://github.com/FullByte/FullByte.github.io
4+
edit_uri: edit/main/docs/
45
site_description: >-
56
This is the personal website of 0xfab1. It mainly contains blog entries on IT tech stuff, games, making things and art.
67
site_author: "0xfab1"

0 commit comments

Comments
 (0)