-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Generate flake-graph and nix-topology diagrams automatically
- Display in readme - Fix generated artifact permissions - Update flake.lock
- Loading branch information
1 parent
7231322
commit e526137
Showing
9 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Artifacts | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
generate: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: cachix/install-nix-action@v20 | ||
with: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: make artifacts | ||
# Note: I'd prefer to use commit artifacts here, but GitHub does not | ||
# expose a URL to refer to the latest run of a specific workflow. | ||
- name: Upload flake-graph.svg | ||
uses: exuanbo/[email protected] | ||
with: | ||
gist_id: "a0b5b3e0afdaaa8e02ace16b955da7ec" | ||
token: ${{ secrets.GIST_TOKEN }} | ||
file_path: out/flake-graph.svg | ||
gist_file_name: flake-graph.svg | ||
- name: Upload topology.svg | ||
uses: exuanbo/[email protected] | ||
with: | ||
gist_id: "a0b5b3e0afdaaa8e02ace16b955da7ec" | ||
token: ${{ secrets.GIST_TOKEN }} | ||
file_path: out/topology.svg | ||
gist_file_name: topology.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters