Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ jobs:
- name: Generate documentation
env:
REPO_NAME: ${{ github.event.repository.name }}
# Override with a repo variable (Settings > Secrets and variables >
# Actions > Variables > PROJECT_NAME) when the displayed project
# name should differ from the repo slug, e.g. made -> "M&DE".
PROJECT_NAME: ${{ vars.PROJECT_NAME || github.event.repository.name }}
run: |
scala-cli --power doc . -- \
-project "$REPO_NAME" \
-project "$PROJECT_NAME" \
-project-version ${{ github.ref_name }} \
-project-footer "made with ❤️ and coffee" \
-social-links:github::https://github.com/halotukozak/$REPO_NAME \
Expand Down