Actualizando cosas y creando cd
All checks were successful
CD for startPage / build (push) Successful in 8s

This commit is contained in:
2023-07-01 00:18:24 -04:00
parent 1d325fb61f
commit 89b438ee26
6 changed files with 496 additions and 686 deletions

View File

@@ -0,0 +1,15 @@
name: CD for startPage
on:
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run build step
run: ./build.sh

View File

@@ -6,6 +6,7 @@
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
<excludeFolder url="file://$MODULE_DIR$/public/build" />
<excludeFolder url="file://$MODULE_DIR$/public" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />

17
build.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env sh
mkdir -p public
tailwindcss -i ./src/input.css -o ./public/style.css --minify
cp ./src/*.png public/
npx html-minifier --collapse-whitespace \
--remove-comments \
--remove-optional-tags \
--remove-redundant-attributes \
--remove-script-type-attributes \
--remove-tag-whitespace \
--use-short-doctype \
--minify-css true \
--minify-js true \
--input-dir ./src/ \
--output-dir ./public/ \
--file-ext html

1132
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,12 @@
{
"scripts": {
"watch": "tailwindcss -i ./src/input.css -o ./src/style.css --watch",
"build": "mkdir -p public; tailwindcss -i ./src/input.css -o ./public/style.css; cp ./src/*.html ./src/*.png public/"
"build": "/usr/bin/env sh ./build.sh"
},
"devDependencies": {
"tailwindcss": "^3.1.8"
"tailwindcss": "^3.3.2"
},
"dependencies": {
"html-minifier": "^4.0.0"
}
}

View File

@@ -22,7 +22,7 @@
<a class="hover:underline" href="https://lobste.rs">lobsters</a>
</div>
<div class="flex flex-col">
<a class="hover:underline" href="https://www.inacap.cl/">inacap</a>
<a class="hover:underline" href="https://www.notion.so/">notion</a>
<a class="hover:underline" href="https://adfs.inacap.cl/adfs/ls/?wtrealm=https://siga.inacap.cl/sts/&wa=wsignin1.0&wreply=https://siga.inacap.cl/sts/&wctx=https%3a%2f%2fadfs.inacap.cl%2fadfs%2fls%2f%3fwreply%3dhttps%3a%2f%2fwww.inacap.cl%2ftportalvp%2fintranet-alumno%26wtrealm%3dhttps%3a%2f%2fwww.inacap.cl%2f">intranet</a>
<a class="hover:underline" href="https://www.inacap.cl/tportalvp/procesar_link.php?url=https://lms.inacap.cl/auth/saml2/login.php?wants=https://lms.inacap.cl/my/">aprendizaje</a>
</div>
@@ -39,10 +39,10 @@
<a class="hover:underline" href="https://4chan.org/wg/catalog">/wg/</a>
</div>
<div class="flex flex-col">
<a class="hover:underline" href="https://jelly.danielcortes.xyz">jellyfin</a>
<a class="hover:underline" href="https://firefly.danielcortes.xyz">firefly</a>
<a class="hover:underline" href="https://torrent.danielcortes.xyz">torrent</a>
<a class="hover:underline" href="https://sonarqube.danielcortes.xyz">sonarqube</a>
<a class="hover:underline" href="https://jelly.skrd.fun">jellyfin</a>
<a class="hover:underline" href="https://navi.skrd.fun">navidrome</a>
<a class="hover:underline" href="https://torrent.skrd.fun">torrent</a>
<a class="hover:underline" href="https://git.skrd.fun">gitea</a>
</div>
</div>
</div>