Skip to content

Commit 4fc35c2

Browse files
authored
feat(docs): Make Branch documentation deletion the same as creation. (#133)
* refactor(gateway): Rename catalyst-voices-backend to the catalyst-gateway * docs(gateway): Update readme * refactor(gateway): Move the code into the new directory trees, cleanup inside tree still todo. * refactor(gateway): Basic refactor of the event-db config/data and the db interface logic * docs(gateway): Initial docs for the crates directory inside catalyst gateway * refactor(gateway): Move code out of cat-data-service and put it directly in bin * feat(gateway): first build seems to work, but fails due to WIP refactor * refactor(gateway): Refactor builds properly to a static executable. * refactor(gateway): autofixed lints * refactor(gateway): WIP remove lint errors * refactor(gateway): WIP refactoring work to remove lint errors * refactor(gateway): Don't panic, return the error, and generalize the error itself. * refactor(gateway): generalize error response * docs(gateway): indexing ok here, slice already checked to have values * refactor(gateway): Indexing is safe here, so note it. * refactor(gateway): don't panic, return an error. reduce size of function by splitting into multiple logical units. * refactor(gateway): Purge metrics from legacy service. Unused and can panic. * refactor(gateway): remove unused rust files from EventDB directory * refactor(gateway): remove unused dependencies * docs(gateway): Allow intentional panic for test code * refactor(gateway): eliminate or notate why unwraps/expect are safe * refactor(gateway): All lints are clean and restrictively applied * refactor(gateway): remove unused dependencies from workspace cargo file * refactor(gateway): restrict visibility of event_db to pub(crate) as its fully internalized now. * docs(gateway): root level fully documented * docs(gateway): state fully documented * docs(gateway): Don't worry about full docs for legacy service. * docs(gateway): Service top level fully documented * docs(gateway): middleware docs complete * docs(gateway): Fully documented the docs part of the service * docs(gateway): common responses and module root fully documented * docs(gateway): Common objects now fully documented * docs(gateway): Api endpoint docs are complete * docs(gateway): DB Types fully documented * docs(gateway): Queries partially documented * docs(gateway): Everything that needs docs is documented * feat(gateway): Initial CI and Cat-Gateway build ready for PR * feat(rust): Add recommended rust extensions for vscode, and rust settings. * docs(gateway): Fix spelling * ci(gateway): Use the proper versioned CI tooling from catalyst-ci * feat(docs): Docs WIP setup * docs(docs): Fix the docs so they use the latests docs-ci and are able to properly include data from build targets * docs(docs): fix spelling and markdown lint issues * docs(docs): Update to use latest Cat-CI Docs and reduce replication * docs(docs): Fix the top level parts of the docs and remove test values * docs(docs): try and build and deploy docs to gh-pages * docs(docs): fix spelling issue * docs(docs): Use proper docs action, and also add branch cleanup for branch docs * docs(docs): Use the published versions from Catalyst-CI * docs(docs): Ensure we do not try and clean docs while building them. * docs(docs): Ensure we don't try and build docs simultaneously, Don't build docs for tags. * ci(mdlint): Use tagged CI versions for stability * ci(spelling): Use tagged CI versions for stability * docs(docs): Edit docs so we test deployment * fix(docs): Try and force docs to build for all branches, but not for any tags * fix(docs): Revert docs to build on any push and see if they start building again. * fix(docs): Use latest workflow from catalyst-ci for docs * fix(docs): Docs should build for any branch but never for a tag. * fix(docs): Need double quotes for branches to work properly * docs(docs): Add a small doc change * ci(docs): Make branch doc deletion like branch doc creation. * docs(docs): fix spelling issues
1 parent c34d4d5 commit 4fc35c2

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed
+24-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
11
name: Branch Deleted
22

3-
on: delete
3+
# cspell: words earthfile
4+
5+
on:
6+
delete:
7+
branches:
8+
- "**"
9+
tags-ignore:
10+
- "**"
411

512
concurrency:
613
group: "docs"
714
cancel-in-progress: false
815

16+
permissions:
17+
id-token: write
18+
contents: write
19+
packages: write
20+
921
jobs:
10-
delete:
11-
name: On branch deleted
12-
if: github.event.ref_type == 'branch'
13-
uses: input-output-hk/catalyst-ci/.github/workflows/[email protected]
22+
ci:
23+
uses: input-output-hk/catalyst-ci/.github/workflows/branch-pages-delete.yml@master
24+
with:
25+
aws_role_arn: arn:aws:iam::332405224602:role/ci
26+
aws_region: eu-central-1
27+
ci_cli_version: 1.3.1
28+
earthfile: ./docs
29+
target: docs
30+
secrets:
31+
earthly_runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
32+
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }}

docs/src/catalyst-standards/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ icon: material/pillar
44

55
<!-- markdownlint-disable MD025-->
66
# Catalyst Standards
7+
8+
These are documents that relate to standardized specifications of the catalyst stack.

0 commit comments

Comments
 (0)