Skip to content

Commit

Permalink
chore: add bootstrap from cdn to deployment index file (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Aug 9, 2024
1 parent 838f67a commit 446e05e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ jobs:
- name: Generate index file
run: |
echo "<html><body><h1>Deployed Branches</h1><ul>" > deployment/index.html
echo "<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body><h1>Deployed Branches</h1><ul>" > deployment/index.html
for archive in deployment/archives/*.tar; do
branch_name=$(basename $archive .tar)
echo "<li><a href='./${branch_name}/'>${branch_name}</a></li>" >> deployment/index.html
Expand Down

0 comments on commit 446e05e

Please sign in to comment.