Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Jan 16, 2024
1 parent d9cf3bc commit 37964df
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/repo-banner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- id: metadata
- name: Fetch repo metadata
id: metadata
uses: ahmadnassri/action-metadata@v2

- name: Determine Repo Type
id: repo
- name: Format Repo Metadata
id: meta
run: |
name="${{ steps.metadata.outputs.repository_name }}"
type="Project"
Expand All @@ -45,7 +46,7 @@ jobs:
echo "type=Infrastructure" >> $GITHUB_OUTPUT
echo "name=${name#infra-}" >> $GITHUB_OUTPUT
else
echo "Repo type is undetermined"
echo "Repo type is indeterminable"
fi
if [[ "${desc}" == "null" ]]; then
Expand All @@ -66,9 +67,9 @@ jobs:
url: "file://${{github.workspace}}/banner/index.html"
output: "banner/image.png"
customizations: |
"#name": "${{ steps.repo.outputs.name }}"
"#type": "${{ steps.repo.outputs.type }}"
"#desc": "${{ steps.repo.outputs.desc }}"
"#name": "${{ steps.meta.outputs.name }}"
"#type": "${{ steps.meta.outputs.type }}"
"#desc": "${{ steps.meta.outputs.desc }}"
viewportWidth: 1280
viewportHeight: 320
omitBackground: true
Expand Down

0 comments on commit 37964df

Please sign in to comment.