Skip to content

Commit de5d359

Browse files
committed
Initial commit
0 parents  commit de5d359

40 files changed

Lines changed: 9386 additions & 0 deletions

.devcontainer/devcontainer.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "Terra Docs",
3+
"image": "ghcr.io/terrapkg/builder:frawhide",
4+
"onCreateCommand": "sudo dnf install -y bun nodejs",
5+
"postCreateCommand": "bun ci",
6+
"forwardPorts": [3000],
7+
"portsAttributes": {
8+
"4321": {
9+
"label": "Astro Dev Server",
10+
"onAutoForward": "notify"
11+
}
12+
},
13+
"customizations": {
14+
"vscode": {
15+
"extensions": [
16+
"astro-build.astro-vscode",
17+
"bradlc.vscode-tailwindcss"
18+
]
19+
}
20+
}
21+
}

.flox/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
env/manifest.lock linguist-generated=true linguist-language=JSON

.flox/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
run/
2+
cache/
3+
lib/
4+
log/
5+
!env/

.flox/env.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "docs",
3+
"version": 1
4+
}

.flox/env/manifest.lock

Lines changed: 271 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.flox/env/manifest.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
schema-version = "1.10.0"
2+
3+
[install]
4+
nodejs.pkg-path = "nodejs"
5+
bun.pkg-path = "bun"
6+
7+
[hook]
8+
on-activate = """
9+
10+
bun ci
11+
echo ""
12+
echo "run 'flox services start dev' to start the dev server at localhost:3000"
13+
echo ""
14+
echo "run 'flox services start dev-host' to start the dev server and expose to the LAN/Tailnet at hostname:300"
15+
echo ""
16+
echo "Contact Jaiden for help with Flox @ Fyra"
17+
echo ""
18+
echo ""
19+
"""
20+
[services.dev]
21+
command = "bun dev"
22+
23+
[services.dev-host]
24+
command = "bun dev --host"
25+
26+
## Other Environment Options -----------------------------------------
27+
[options]
28+
systems = ["aarch64-darwin", "aarch64-linux", "x86_64-darwin", "x86_64-linux"]

.github/workflows/sync-next.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Sync next with main
2+
permissions:
3+
contents: read
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
workflow_dispatch:
10+
11+
jobs:
12+
merge:
13+
permissions:
14+
contents: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
with:
19+
fetch-depth: 0
20+
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
21+
ref: next
22+
23+
- name: Install SSH signing key
24+
run: |
25+
mkdir -p ${{ runner.temp }}
26+
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
27+
chmod 0700 ${{ runner.temp }}/signing_key
28+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
29+
30+
- name: Set up Git config
31+
run: |
32+
git config user.name "Raboneko"
33+
git config user.email "raboneko@fyralabs.com"
34+
git config gpg.format "ssh"
35+
git config user.signingkey "${{ runner.temp }}/signing_key"
36+
git config --global merge.ours.driver true
37+
git config --global commit.gpgsign true
38+
39+
- name: Merge main into next
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.MERGE_TOKEN }}
42+
run: |
43+
git fetch origin main
44+
git merge --no-edit origin/main
45+
git push origin next

0 commit comments

Comments
 (0)