Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
asyavee committed Dec 14, 2023
1 parent a3c35d2 commit b263fe4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
mkdir -p ./pages
minify -r -o ./pages/ ./*.html
minify -r -o ./pages/ ./*.js
minify -r -o ./pages/ ./*.css
minify -r -o ./pages/ ./*.svg
cp ./LICENSE* ./pages/
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ minify_html:
stage: build
script:
- go install github.com/tdewolff/minify/v2/cmd/minify@latest
- minify -r -o public/ ./*.html
- minify -r -o public/ ./*.html ./*.css ./*.css ./*.js
artifacts:
paths:
- ./public/
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" href="logo_mono.svg">
<link rel="icon" href="logo_mono.svg">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="./style.css">
</head>

<body>
Expand Down Expand Up @@ -45,5 +45,5 @@ <h1>5mdt <br />Noise Generator</h1>
</footer>
</div>
</body>
<script type="text/javascript" src="scripts.js"></script>
<script type="text/javascript" src="./scripts.js"></script>
</html>

0 comments on commit b263fe4

Please sign in to comment.