Actualizando cosas y creando cd
All checks were successful
CD for startPage / build (push) Successful in 8s
All checks were successful
CD for startPage / build (push) Successful in 8s
This commit is contained in:
15
.gitea/workflows/deploy.yaml
Normal file
15
.gitea/workflows/deploy.yaml
Normal 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
|
||||||
1
.idea/start.danielcortes.xyz.iml
generated
1
.idea/start.danielcortes.xyz.iml
generated
@@ -6,6 +6,7 @@
|
|||||||
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
||||||
<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/build" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/public" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
|||||||
17
build.sh
Executable file
17
build.sh
Executable 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
1132
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,9 +1,12 @@
|
|||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tailwindcss -i ./src/input.css -o ./src/style.css --watch",
|
"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": {
|
"devDependencies": {
|
||||||
"tailwindcss": "^3.1.8"
|
"tailwindcss": "^3.3.2"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"html-minifier": "^4.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<a class="hover:underline" href="https://lobste.rs">lobsters</a>
|
<a class="hover:underline" href="https://lobste.rs">lobsters</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<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://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>
|
<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>
|
</div>
|
||||||
@@ -39,10 +39,10 @@
|
|||||||
<a class="hover:underline" href="https://4chan.org/wg/catalog">/wg/</a>
|
<a class="hover:underline" href="https://4chan.org/wg/catalog">/wg/</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<a class="hover:underline" href="https://jelly.danielcortes.xyz">jellyfin</a>
|
<a class="hover:underline" href="https://jelly.skrd.fun">jellyfin</a>
|
||||||
<a class="hover:underline" href="https://firefly.danielcortes.xyz">firefly</a>
|
<a class="hover:underline" href="https://navi.skrd.fun">navidrome</a>
|
||||||
<a class="hover:underline" href="https://torrent.danielcortes.xyz">torrent</a>
|
<a class="hover:underline" href="https://torrent.skrd.fun">torrent</a>
|
||||||
<a class="hover:underline" href="https://sonarqube.danielcortes.xyz">sonarqube</a>
|
<a class="hover:underline" href="https://git.skrd.fun">gitea</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user