Skip to content

Commit

Permalink
hopefully it works
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr.suwala committed Apr 17, 2024
1 parent 3b5c8b3 commit 521605e
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/generate-tree.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate Tech Tree
on:
push:
branches: [ master ]
env:
TECH_TREE_DOCKER: ghcr.io/hspsh/tech-tree:issue-10-dockerfile
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: ${{ TECH_TREE_DOCKER }}
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
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: updated tree.svg
file_pattern: tree.svg
27 changes: 27 additions & 0 deletions tree.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 521605e

Please sign in to comment.