Skip to content

Commit

Permalink
Configure viewer title
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Jan 10, 2024
1 parent 4d0cc57 commit 7d282c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/validate-and-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ jobs:
sed -i -r 's,/@BASE_URL@/,/${{ github.event.repository.name }}/,g' index.html 404.html assets/*.js assets/*.css
cat << EOF > config.js
window.bblocksRegisters = ['${{ format('https://{0}.github.io/{1}/{2}', github.repository_owner, github.event.repository.name, inputs.register_file) }}'];
window.bblocksViewer = {
title: '$(jq .name < "${{ inputs.register_file }}")',
};
EOF
- name: Setup Pages
if: ${{ github.event.repository.has_pages && !inputs.skip-pages }}
Expand Down

0 comments on commit 7d282c2

Please sign in to comment.