6 Commits

Author SHA1 Message Date
renovate[bot]
e5c968f2be chore(deps): update postgres docker tag to v17 2024-11-10 18:41:03 +00:00
Hammy
d4cffe2407 tests: add docker compose for easy testing (#54) 2024-11-10 18:40:26 +00:00
github-actions[bot]
bf168e5540 chore(main): release 1.0.1 (#53)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-10 16:47:25 +00:00
Sonter
f0bf2b7a90 fix: set background colour for tooltips & inline code blocks (#52)
Co-authored-by: sgoudham <sgoudham@gmail.com>
2024-11-10 16:45:48 +00:00
renovate[bot]
60b5e8d7bf chore: Configure Renovate (#45)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 17:49:29 +01:00
Hammy
b037ea025c ci: use --repo for gh cli & set GH_TOKEN (#43) 2024-10-06 19:33:13 +01:00
9 changed files with 97 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ jobs:
uses: "actions/upload-pages-artifact@v3"
with:
path: "dist/"
- name: Upload CSS
uses: actions/upload-artifact@v4
with:
@@ -40,7 +40,7 @@ jobs:
- name: "Release"
id: "release"
uses: "googleapis/release-please-action@v4"
- name: Download CSS
uses: actions/download-artifact@v4
with:
@@ -54,8 +54,8 @@ jobs:
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz --repo $GITHUB_REPOSITORY
deploy:

View File

@@ -1,3 +1,3 @@
{
".": "1.0.0"
".": "1.0.1"
}

View File

@@ -1,5 +1,12 @@
# Changelog
## [1.0.1](https://github.com/catppuccin/gitea/compare/v1.0.0...v1.0.1) (2024-11-10)
### Bug Fixes
* set background colour for tooltips & inline code blocks ([#52](https://github.com/catppuccin/gitea/issues/52)) ([f0bf2b7](https://github.com/catppuccin/gitea/commit/f0bf2b7a907838ac9d6cd4c1c677e55f229d042c))
## [1.0.0](https://github.com/catppuccin/gitea/compare/v0.4.1...v1.0.0) (2024-10-06)

3
docker/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
*
!docker/docker-compose.yml
!docker/justfile

59
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,59 @@
services:
server:
image: gitea/gitea:1.22.3
container_name: gitea
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
networks:
- gitea
volumes:
# - ./conf/app.ini:/data/gitea/conf/app.ini
- type: bind
source: ./conf/app.ini
target: /data/gitea/conf/app.ini
- ./conf/public:/data/gitea/public
- ./conf/templates:/data/gitea/templates
- ./conf/locale:/data/gitea/options/locale
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
db:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-fSs", "localhost:3000/api/healthz"]
interval: "30s"
timeout: "5s"
retries: 3
db:
image: postgres:17
restart: unless-stopped
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
networks:
- gitea
volumes:
- ./postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: "5s"
timeout: "5s"
retries: 3
networks:
gitea:
name: "gitea"
external: false

13
docker/justfile Normal file
View File

@@ -0,0 +1,13 @@
_default:
@just --list
build:
cd .. && deno task build
mkdir -p ./conf/public/assets/css
cp ../dist/* ./conf/public/assets/css
down:
docker compose down
up: build down
docker compose up -d

6
renovate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>catppuccin/renovate-config"
]
}

View File

@@ -220,10 +220,13 @@ $lvl3: if($isDark, $base, $crust);
--color-card: #{$surface0};
--color-markup-table-row: #{color.change($text, $alpha: 0.02)};
--color-markup-code-block: #{color.change($text, $alpha: 0.05)};
--color-markup-code-inline: #{$surface0};
--color-button: #{$surface0};
--color-code-bg: #{$base};
--color-code-sidebar-bg: #{$surface0};
--color-shadow: #{color.change($lvl1, $alpha: 0.1)};
--color-tooltip-bg: #{$surface0};
--color-tooltip-text: var(--color-text);
--color-secondary-bg: #{$surface0};
--color-text-focus: #{$text};
--color-expand-button: #{$surface2};

View File

@@ -1 +1 @@
1.0.0
1.0.1