This commit is contained in:
commit
78f48dc332
4 changed files with 146 additions and 0 deletions
24
.forgejo/workflows/deploy.yaml
Normal file
24
.forgejo/workflows/deploy.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- home
|
||||||
|
schedule:
|
||||||
|
- cron: 0 0 * * 0
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
- name: install rsync
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
apt install rsync -y
|
||||||
|
- name: add ssh key
|
||||||
|
uses: actions/ssh-setup@v1
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.ACTIONS_SSH_KEY }}
|
||||||
|
add-hosts: "toufy.me"
|
||||||
|
- name: sync repo
|
||||||
|
run: rsync -az . root@toufy.me:/var/www/aur.toufy.me
|
||||||
BIN
archmod.png
Normal file
BIN
archmod.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
122
index.html
Normal file
122
index.html
Normal file
|
|
@ -0,0 +1,122 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1"
|
||||||
|
/>
|
||||||
|
<title>aur.toufy.me</title>
|
||||||
|
<link
|
||||||
|
rel="shortcut icon"
|
||||||
|
href="favicon.ico"
|
||||||
|
type="image/x-icon"
|
||||||
|
/>
|
||||||
|
<style
|
||||||
|
type="text/css"
|
||||||
|
media="all"
|
||||||
|
>
|
||||||
|
:root {
|
||||||
|
--primary: #1793d1;
|
||||||
|
--foreground: #4d4d4d;
|
||||||
|
--background: #ffffff;
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
--foreground: #ffffff;
|
||||||
|
--background: #4d4d4d;
|
||||||
|
}
|
||||||
|
background-color: var(--background);
|
||||||
|
color: var(--foreground);
|
||||||
|
a {
|
||||||
|
color: var(--primary);
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
code {
|
||||||
|
background-color: var(--foreground);
|
||||||
|
color: var(--background);
|
||||||
|
border: 2px dashed var(--primary);
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 5px;
|
||||||
|
justify-content: left;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body
|
||||||
|
style="min-height: calc(100vh - 12px); border: 5px groove var(--primary)"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
style="
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
place-items: center;
|
||||||
|
padding: 5px;
|
||||||
|
margin: auto auto;
|
||||||
|
max-width: 600px;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src="archmod.png"
|
||||||
|
style="max-width: 125px"
|
||||||
|
alt="arch linux logo, modified to have a
|
||||||
|
curved lighter blue gradient at the top"
|
||||||
|
/>
|
||||||
|
<h1 style="color: var(--primary)">aur.toufy.me</h1>
|
||||||
|
<h3
|
||||||
|
style="
|
||||||
|
padding: 5px;
|
||||||
|
border: 2px solid var(--primary);
|
||||||
|
border-radius: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
"
|
||||||
|
>toufy's arch user repository</h3
|
||||||
|
>
|
||||||
|
<p style="padding: 5px; text-align: center">
|
||||||
|
weekly builds of AUR packages (mostly for development) that i use, but
|
||||||
|
if someone requests a package i might add it.<br /><br />
|
||||||
|
email:
|
||||||
|
<a
|
||||||
|
href="mailto:admin.aur@toufy.me"
|
||||||
|
target="_blank"
|
||||||
|
>admin.aur@toufy.me</a
|
||||||
|
><br />
|
||||||
|
source:
|
||||||
|
<a
|
||||||
|
href="https://git.toufy.me/toufy/taur"
|
||||||
|
target="_blank"
|
||||||
|
>git.toufy.me/toufy/taur</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
<hr style="width: 100%; color: var(--primary); margin: 10px" />
|
||||||
|
<h4>adding the repo</h4>
|
||||||
|
<div
|
||||||
|
style="
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<p>add and sign my keys:</p>
|
||||||
|
<code>
|
||||||
|
<p>pacman-key --recv-key BBA33017E29E74FB</p>
|
||||||
|
<p>pacman-key --lsign-key BBA33017E29E74FB</p>
|
||||||
|
</code>
|
||||||
|
<p>add the repo to /etc/pacman.conf:</p>
|
||||||
|
<code>
|
||||||
|
<p>[taur]</p>
|
||||||
|
<p>Server = https://aur.toufy.me/builds</p>
|
||||||
|
</code>
|
||||||
|
<p>then run pacman -Syu</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue