Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
4c29d44cd6
commit
f8d794d2e8
6 changed files with 753 additions and 652 deletions
|
@ -3,11 +3,11 @@ when:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build & Push
|
- name: Build & Push
|
||||||
image: git.baalajimaestro.me/baalajimaestro/build-runner
|
image: git.ptr.moe/baalajimaestro/build-runner
|
||||||
commands:
|
commands:
|
||||||
- /dockerd-entrypoint.sh dockerd 2&> /dev/null &
|
- /dockerd-entrypoint.sh dockerd 2&> /dev/null &
|
||||||
- echo $DOCKER_PASSWORD | docker login git.baalajimaestro.me --username ${CI_REPO_OWNER} --password-stdin
|
- echo $DOCKER_PASSWORD | docker login git.ptr.moe --username ${CI_REPO_OWNER} --password-stdin
|
||||||
- docker build . -t git.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
|
- docker build . -t git.ptr.moe/baalajimaestro/obsolute-paste:latest
|
||||||
- docker push git.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
|
- docker push git.ptr.moe/baalajimaestro/obsolute-paste:latest
|
||||||
secrets: [ docker_password ]
|
secrets: [ docker_password ]
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|
1350
Cargo.lock
generated
1350
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
14
Cargo.toml
14
Cargo.toml
|
@ -4,11 +4,11 @@ version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = { version = "4.5.1", default-features = false, features = ["macros", "compress-brotli", "compress-gzip", "cookies"]}
|
actix-web = { version = "4.8.0", default-features = false, features = ["macros", "compress-brotli", "compress-gzip", "cookies"]}
|
||||||
actix-files = "0.6.5"
|
actix-files = "0.6.6"
|
||||||
tera = "1.19.1"
|
tera = "1.20.0"
|
||||||
serde = { version = "1.0.197", features = ["derive"] }
|
serde = { version = "1.0.204", features = ["derive"] }
|
||||||
reqwest = { version = "0.11.26", default-features = false, features = ["rustls-tls", "gzip"] }
|
reqwest = { version = "0.12.5", default-features = false, features = ["rustls-tls", "gzip"] }
|
||||||
serde_json = "1.0.114"
|
serde_json = "1.0.120"
|
||||||
base64 = "0.22.0"
|
base64 = "0.22.1"
|
||||||
mime = "0.3.17"
|
mime = "0.3.17"
|
||||||
|
|
|
@ -6,6 +6,6 @@ Necessary ENV Variables:
|
||||||
|
|
||||||
`GITLAB_TOKEN`: A personal/deploy token, that can read the files in the provided repo
|
`GITLAB_TOKEN`: A personal/deploy token, that can read the files in the provided repo
|
||||||
|
|
||||||
`BASE_URL`: Base API URL to the repo, example: `https://git.baalajimaestro.me/api/v4/projects/0`
|
`BASE_URL`: Base API URL to the repo, example: `https://git.ptr.moe/api/v4/projects/0`
|
||||||
|
|
||||||
This project is hostable with docker, and a prebuilt docker image is at `registry.baalajimaestro.me/baalajimaestro/obsolute-paste`
|
This project is hostable with docker, and a prebuilt docker image is at `git.ptr.moe/baalajimaestro/obsolute-paste`
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
|
! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -211,6 +211,8 @@ textarea {
|
||||||
/* 1 */
|
/* 1 */
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
/* 1 */
|
/* 1 */
|
||||||
|
letter-spacing: inherit;
|
||||||
|
/* 1 */
|
||||||
color: inherit;
|
color: inherit;
|
||||||
/* 1 */
|
/* 1 */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -234,9 +236,9 @@ select {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
button,
|
button,
|
||||||
[type='button'],
|
input:where([type='button']),
|
||||||
[type='reset'],
|
input:where([type='reset']),
|
||||||
[type='submit'] {
|
input:where([type='submit']) {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance: button;
|
||||||
/* 1 */
|
/* 1 */
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
@ -492,6 +494,10 @@ video {
|
||||||
--tw-backdrop-opacity: ;
|
--tw-backdrop-opacity: ;
|
||||||
--tw-backdrop-saturate: ;
|
--tw-backdrop-saturate: ;
|
||||||
--tw-backdrop-sepia: ;
|
--tw-backdrop-sepia: ;
|
||||||
|
--tw-contain-size: ;
|
||||||
|
--tw-contain-layout: ;
|
||||||
|
--tw-contain-paint: ;
|
||||||
|
--tw-contain-style: ;
|
||||||
}
|
}
|
||||||
|
|
||||||
::backdrop {
|
::backdrop {
|
||||||
|
@ -542,6 +548,10 @@ video {
|
||||||
--tw-backdrop-opacity: ;
|
--tw-backdrop-opacity: ;
|
||||||
--tw-backdrop-saturate: ;
|
--tw-backdrop-saturate: ;
|
||||||
--tw-backdrop-sepia: ;
|
--tw-backdrop-sepia: ;
|
||||||
|
--tw-contain-size: ;
|
||||||
|
--tw-contain-layout: ;
|
||||||
|
--tw-contain-paint: ;
|
||||||
|
--tw-contain-style: ;
|
||||||
}
|
}
|
||||||
|
|
||||||
.visible {
|
.visible {
|
||||||
|
|
|
@ -43,13 +43,16 @@
|
||||||
<span class="text-sm text-gray-400 sm:text-center">©2024 Maestro Creativescape.</span>
|
<span class="text-sm text-gray-400 sm:text-center">©2024 Maestro Creativescape.</span>
|
||||||
<ul class="flex flex-wrap items-center mt-3 text-sm text-gray-400 sm:mt-0">
|
<ul class="flex flex-wrap items-center mt-3 text-sm text-gray-400 sm:mt-0">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://baalajimaestro.me" class="mr-4 hover:underline md:mr-6 ">Home</a>
|
<a href="https://ptr.moe" class="mr-4 hover:underline md:mr-6 ">PTR Cloud</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://links.baalajimaestro.me" class="mr-4 hover:underline md:mr-6">Links</a>
|
<a href="https://baalajimaestro.ptr.moe" class="mr-4 hover:underline md:mr-6 ">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://git.baalajimaestro.me/baalajimaestro/obsolute-paste" class="mr-4 hover:underline md:mr-6">Source Code</a>
|
<a href="https://links.baalajimaestro.ptr.moe" class="mr-4 hover:underline md:mr-6">Links</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://git.ptr.moe/baalajimaestro/obsolute-paste" class="mr-4 hover:underline md:mr-6">Source Code</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Powered by <a href="https://actix.rs" class="hover:underline">Actix</a> & <a href="https://forgejo.org/" class="mr-4 hover:underline md:mr-6">Forgejo</a>
|
Powered by <a href="https://actix.rs" class="hover:underline">Actix</a> & <a href="https://forgejo.org/" class="mr-4 hover:underline md:mr-6">Forgejo</a>
|
||||||
|
@ -63,7 +66,7 @@
|
||||||
_paq.push(['trackPageView']);
|
_paq.push(['trackPageView']);
|
||||||
_paq.push(['enableLinkTracking']);
|
_paq.push(['enableLinkTracking']);
|
||||||
(function() {
|
(function() {
|
||||||
var u="https://counter.baalajimaestro.me/";
|
var u="https://counter.ptr.moe/";
|
||||||
_paq.push(['setTrackerUrl', u+'86eff12f2496']);
|
_paq.push(['setTrackerUrl', u+'86eff12f2496']);
|
||||||
_paq.push(['setSiteId', '3']);
|
_paq.push(['setSiteId', '3']);
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||||
|
|
Loading…
Reference in a new issue