diff --git a/.github/workflows/generate-tree.yaml b/.github/workflows/generate-tree.yaml new file mode 100644 index 0000000..b7d5a89 --- /dev/null +++ b/.github/workflows/generate-tree.yaml @@ -0,0 +1,21 @@ +name: Generate Tech Tree +on: + push: + branches: [ master ] +jobs: + generate-tech-tree: + name: Generate Tech Tree + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: ghcr.io/hspsh/tech-tree:issue-10-dockerfile + options: -v ${{ github.workspace }}:/data + run: | + java -jar /app/app.jar /data/tree.yaml > /data/tree.svg + - name: FUCK + run: cat tree.svg + shell: bash diff --git a/tree.yaml b/tree.yaml new file mode 100644 index 0000000..5c9d515 --- /dev/null +++ b/tree.yaml @@ -0,0 +1,27 @@ +nodes: + - title: Tech Tree + state: done + - title: Outline + state: broken + - title: Onboarding + state: todo + requires: + - Tech Tree + - Outline + - title: Proces Listy Zakupowej + state: progress + requires: + - Tech Tree + - Outline + - title: Kubernetes + state: broken + - title: FluxCD + state: broken + requires: + - Kubernetes + - title: Syncronium + state: broken + link: http://example.com + docs: https://github.com/hspsh/syncronium + requires: + - FluxCD \ No newline at end of file