-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add bootstrap from cdn to deployment index file (wip)
- Loading branch information
1 parent
838f67a
commit 446e05e
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|