test push
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s

This commit is contained in:
Chris 2023-10-19 10:46:59 +02:00
parent b3ded91d01
commit 69fd09bc25
2 changed files with 93 additions and 182 deletions

View File

@ -0,0 +1,24 @@
name: Build and push
run-name: ${{ github.actor }} building dogstats
on: [push]
env:
REGISTRY: gitea.haschek.at
IMAGE_NAME: $(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')
jobs:
pull-on-server:
if: "contains(github.event.head_commit.message, 'push')"
name: Pulling repo on server
runs-on: ubuntu-latest
steps:
- name: Configure SSH
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
run: |
mkdir -p ~/.ssh/
echo "$SSH_KEY" > ~/.ssh/staging.key
chmod 600 ~/.ssh/staging.key
- name: Run docker restart on Server
run: |
ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no -p 22 -o UserKnownHostsFile=/dev/null ${{ secrets.SSH_WEBSERVER_IP }} "cd /var/www/dogstats/ && git pull"

View File

@ -576,10 +576,6 @@ video {
top: -10rem; top: -10rem;
} }
.left-\[calc\(50\%\+3rem\)\] {
left: calc(50% + 3rem);
}
.left-\[calc\(50\%-11rem\)\] { .left-\[calc\(50\%-11rem\)\] {
left: calc(50% - 11rem); left: calc(50% - 11rem);
} }
@ -592,10 +588,6 @@ video {
top: 0px; top: 0px;
} }
.top-\[calc\(100\%-13rem\)\] {
top: calc(100% - 13rem);
}
.isolate { .isolate {
isolation: isolate; isolation: isolate;
} }
@ -624,11 +616,6 @@ video {
margin: -0.625rem; margin: -0.625rem;
} }
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.-mx-3 { .-mx-3 {
margin-left: -0.75rem; margin-left: -0.75rem;
margin-right: -0.75rem; margin-right: -0.75rem;
@ -639,28 +626,25 @@ video {
margin-bottom: -1.5rem; margin-bottom: -1.5rem;
} }
.mt-10 { .mx-auto {
margin-top: 2.5rem; margin-left: auto;
} margin-right: auto;
.mt-6 {
margin-top: 1.5rem;
} }
.mb-2 { .mb-2 {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
.mb-6 {
margin-bottom: 1.5rem;
}
.ml-3 { .ml-3 {
margin-left: 0.75rem; margin-left: 0.75rem;
} }
.mr-2 { .mt-10 {
margin-right: 0.5rem; margin-top: 2.5rem;
}
.mt-6 {
margin-top: 1.5rem;
} }
.block { .block {
@ -691,18 +675,6 @@ video {
aspect-ratio: 1155/678; aspect-ratio: 1155/678;
} }
.h-24 {
height: 6rem;
}
.h-6 {
height: 1.5rem;
}
.h-8 {
height: 2rem;
}
.h-12 { .h-12 {
height: 3rem; height: 3rem;
} }
@ -715,8 +687,20 @@ video {
height: 1.25rem; height: 1.25rem;
} }
.w-24 { .h-6 {
width: 6rem; height: 1.5rem;
}
.h-8 {
height: 2rem;
}
.w-12 {
width: 3rem;
}
.w-4 {
width: 1rem;
} }
.w-6 { .w-6 {
@ -735,18 +719,6 @@ video {
width: 100%; width: 100%;
} }
.w-12 {
width: 3rem;
}
.w-4 {
width: 1rem;
}
.w-8 {
width: 2rem;
}
.max-w-2xl { .max-w-2xl {
max-width: 42rem; max-width: 42rem;
} }
@ -798,10 +770,10 @@ video {
column-gap: 1.5rem; column-gap: 1.5rem;
} }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { .space-x-4 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0; --tw-space-x-reverse: 0;
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); margin-right: calc(1rem * var(--tw-space-x-reverse));
margin-bottom: calc(1rem * var(--tw-space-y-reverse)); margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
} }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { .space-y-2 > :not([hidden]) ~ :not([hidden]) {
@ -810,10 +782,10 @@ video {
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
} }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { .space-y-4 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0; --tw-space-y-reverse: 0;
margin-right: calc(1rem * var(--tw-space-x-reverse)); margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); margin-bottom: calc(1rem * var(--tw-space-y-reverse));
} }
.divide-y > :not([hidden]) ~ :not([hidden]) { .divide-y > :not([hidden]) ~ :not([hidden]) {
@ -834,12 +806,12 @@ video {
overflow-y: auto; overflow-y: auto;
} }
.rounded-full { .rounded {
border-radius: 9999px; border-radius: 0.25rem;
} }
.rounded-xl { .rounded-full {
border-radius: 0.75rem; border-radius: 9999px;
} }
.rounded-lg { .rounded-lg {
@ -850,8 +822,8 @@ video {
border-radius: 0.375rem; border-radius: 0.375rem;
} }
.rounded { .rounded-xl {
border-radius: 0.25rem; border-radius: 0.75rem;
} }
.border { .border {
@ -863,9 +835,9 @@ video {
border-color: rgb(209 213 219 / var(--tw-border-opacity)); border-color: rgb(209 213 219 / var(--tw-border-opacity));
} }
.bg-slate-100 { .bg-gray-50 {
--tw-bg-opacity: 1; --tw-bg-opacity: 1;
background-color: rgb(241 245 249 / var(--tw-bg-opacity)); background-color: rgb(249 250 251 / var(--tw-bg-opacity));
} }
.bg-indigo-600 { .bg-indigo-600 {
@ -878,11 +850,6 @@ video {
background-color: rgb(255 255 255 / var(--tw-bg-opacity)); background-color: rgb(255 255 255 / var(--tw-bg-opacity));
} }
.bg-gray-50 {
--tw-bg-opacity: 1;
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}
.bg-gradient-to-tr { .bg-gradient-to-tr {
background-image: linear-gradient(to top right, var(--tw-gradient-stops)); background-image: linear-gradient(to top right, var(--tw-gradient-stops));
} }
@ -897,10 +864,6 @@ video {
--tw-gradient-to: #9089fc var(--tw-gradient-to-position); --tw-gradient-to: #9089fc var(--tw-gradient-to-position);
} }
.p-8 {
padding: 2rem;
}
.p-1 { .p-1 {
padding: 0.25rem; padding: 0.25rem;
} }
@ -931,6 +894,11 @@ video {
padding-right: 0.875rem; padding-right: 0.875rem;
} }
.px-5 {
padding-left: 1.25rem;
padding-right: 1.25rem;
}
.px-6 { .px-6 {
padding-left: 1.5rem; padding-left: 1.5rem;
padding-right: 1.5rem; padding-right: 1.5rem;
@ -951,35 +919,16 @@ video {
padding-bottom: 0.625rem; padding-bottom: 0.625rem;
} }
.py-32 {
padding-top: 8rem;
padding-bottom: 8rem;
}
.py-6 { .py-6 {
padding-top: 1.5rem; padding-top: 1.5rem;
padding-bottom: 1.5rem; padding-bottom: 1.5rem;
} }
.px-5 {
padding-left: 1.25rem;
padding-right: 1.25rem;
}
.py-8 { .py-8 {
padding-top: 2rem; padding-top: 2rem;
padding-bottom: 2rem; padding-bottom: 2rem;
} }
.py-5 {
padding-top: 1.25rem;
padding-bottom: 1.25rem;
}
.pt-6 {
padding-top: 1.5rem;
}
.pt-14 { .pt-14 {
padding-top: 3.5rem; padding-top: 3.5rem;
} }
@ -988,16 +937,6 @@ video {
text-align: center; text-align: center;
} }
.text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
.text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}
.text-4xl { .text-4xl {
font-size: 2.25rem; font-size: 2.25rem;
line-height: 2.5rem; line-height: 2.5rem;
@ -1008,6 +947,11 @@ video {
line-height: 1.5rem; line-height: 1.5rem;
} }
.text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}
.text-sm { .text-sm {
font-size: 0.875rem; font-size: 0.875rem;
line-height: 1.25rem; line-height: 1.25rem;
@ -1018,15 +962,14 @@ video {
line-height: 1.75rem; line-height: 1.75rem;
} }
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.font-bold { .font-bold {
font-weight: 700; font-weight: 700;
} }
.font-light {
font-weight: 300;
}
.font-medium { .font-medium {
font-weight: 500; font-weight: 500;
} }
@ -1035,10 +978,6 @@ video {
font-weight: 600; font-weight: 600;
} }
.font-light {
font-weight: 300;
}
.leading-6 { .leading-6 {
line-height: 1.5rem; line-height: 1.5rem;
} }
@ -1059,14 +998,14 @@ video {
letter-spacing: -0.025em; letter-spacing: -0.025em;
} }
.text-sky-500 { .text-black {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(14 165 233 / var(--tw-text-opacity)); color: rgb(0 0 0 / var(--tw-text-opacity));
} }
.text-slate-700 { .text-gray-500 {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(51 65 85 / var(--tw-text-opacity)); color: rgb(107 114 128 / var(--tw-text-opacity));
} }
.text-gray-600 { .text-gray-600 {
@ -1089,37 +1028,23 @@ video {
color: rgb(79 70 229 / var(--tw-text-opacity)); color: rgb(79 70 229 / var(--tw-text-opacity));
} }
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-black {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
}
.text-slate-500 { .text-slate-500 {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(100 116 139 / var(--tw-text-opacity)); color: rgb(100 116 139 / var(--tw-text-opacity));
} }
.text-gray-500 { .text-white {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity)); color: rgb(255 255 255 / var(--tw-text-opacity));
}
.underline {
text-decoration-line: underline;
} }
.opacity-30 { .opacity-30 {
opacity: 0.3; opacity: 0.3;
} }
.shadow-sm { .shadow {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
} }
@ -1129,9 +1054,9 @@ video {
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
} }
.shadow { .shadow-sm {
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
} }
@ -1226,11 +1151,6 @@ video {
border-color: rgb(55 65 81 / var(--tw-border-opacity)); border-color: rgb(55 65 81 / var(--tw-border-opacity));
} }
.dark\:bg-slate-800 {
--tw-bg-opacity: 1;
background-color: rgb(30 41 59 / var(--tw-bg-opacity));
}
.dark\:bg-gray-700 { .dark\:bg-gray-700 {
--tw-bg-opacity: 1; --tw-bg-opacity: 1;
background-color: rgb(55 65 81 / var(--tw-bg-opacity)); background-color: rgb(55 65 81 / var(--tw-bg-opacity));
@ -1241,21 +1161,6 @@ video {
background-color: rgb(31 41 55 / var(--tw-bg-opacity)); background-color: rgb(31 41 55 / var(--tw-bg-opacity));
} }
.dark\:bg-gray-900 {
--tw-bg-opacity: 1;
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
.dark\:text-sky-400 {
--tw-text-opacity: 1;
color: rgb(56 189 248 / var(--tw-text-opacity));
}
.dark\:text-slate-500 {
--tw-text-opacity: 1;
color: rgb(100 116 139 / var(--tw-text-opacity));
}
.dark\:text-gray-300 { .dark\:text-gray-300 {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(209 213 219 / var(--tw-text-opacity)); color: rgb(209 213 219 / var(--tw-text-opacity));
@ -1301,18 +1206,10 @@ video {
top: -20rem; top: -20rem;
} }
.sm\:left-\[calc\(50\%\+36rem\)\] {
left: calc(50% + 36rem);
}
.sm\:left-\[calc\(50\%-30rem\)\] { .sm\:left-\[calc\(50\%-30rem\)\] {
left: calc(50% - 30rem); left: calc(50% - 30rem);
} }
.sm\:top-\[calc\(100\%-30rem\)\] {
top: calc(100% - 30rem);
}
.sm\:mb-8 { .sm\:mb-8 {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
@ -1325,14 +1222,14 @@ video {
width: 72.1875rem; width: 72.1875rem;
} }
.sm\:max-w-sm {
max-width: 24rem;
}
.sm\:max-w-md { .sm\:max-w-md {
max-width: 28rem; max-width: 28rem;
} }
.sm\:max-w-sm {
max-width: 24rem;
}
.sm\:justify-center { .sm\:justify-center {
justify-content: center; justify-content: center;
} }
@ -1341,11 +1238,6 @@ video {
padding: 2rem; padding: 2rem;
} }
.sm\:py-48 {
padding-top: 12rem;
padding-bottom: 12rem;
}
.sm\:text-6xl { .sm\:text-6xl {
font-size: 3.75rem; font-size: 3.75rem;
line-height: 1; line-height: 1;
@ -1415,11 +1307,6 @@ video {
padding-right: 2rem; padding-right: 2rem;
} }
.lg\:py-56 {
padding-top: 14rem;
padding-bottom: 14rem;
}
.lg\:py-0 { .lg\:py-0 {
padding-top: 0px; padding-top: 0px;
padding-bottom: 0px; padding-bottom: 0px;