This commit is contained in:
parent
ad901e7d0e
commit
12d76a3116
3 changed files with 25 additions and 0 deletions
|
@ -29,6 +29,14 @@ jobs:
|
||||||
path: nginx-config
|
path: nginx-config
|
||||||
ref: main
|
ref: main
|
||||||
|
|
||||||
|
- name: Checkout d2class
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: milka64/d2class
|
||||||
|
token: ${{ secrets.TOKEN }}
|
||||||
|
path: d2class
|
||||||
|
ref: main
|
||||||
|
|
||||||
- name: "create devices directory"
|
- name: "create devices directory"
|
||||||
run: 'mkdir source/devices'
|
run: 'mkdir source/devices'
|
||||||
|
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@ build
|
||||||
source/devices/*
|
source/devices/*
|
||||||
oxidized
|
oxidized
|
||||||
nginx-config
|
nginx-config
|
||||||
|
d2class
|
||||||
|
|
16
source/infra.rst
Normal file
16
source/infra.rst
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
.. d2lang::
|
||||||
|
|
||||||
|
@../d2class/network.d2
|
||||||
|
wan -- home.freebox
|
||||||
|
wan -- scaleway."mail.0w.tf"
|
||||||
|
wan -- scaleway.bkp
|
||||||
|
home: {
|
||||||
|
freebox -- adama
|
||||||
|
class: "router"
|
||||||
|
}
|
||||||
|
wan: {
|
||||||
|
shape: image
|
||||||
|
icon: https://git.0w.tf/milka64/d2class/raw/branch/main/svg/cloud.svg
|
||||||
|
label.near: bottom-left
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue