-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: setup axum and askama * feat: setup maud * AMEND ME LATER * feat: setup tailwind css * feat!: add sonarr calendar widget * refactor: handle `get_widget_info` error * chore: remove unused tailwind classes * feat: add ping indicator status * refactor(deps): switch reqwest to use rustls-tls * build(docker): setup docker * ci: add docker build and push workflow BREAKING CHANGE: * Widget configuration of Sonarr Calendar. `url` and `key` is now inside `config`. See docs/vesta.toml:88
- Loading branch information
Showing
52 changed files
with
3,302 additions
and
3,371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,40 @@ | ||
node_modules | ||
build | ||
.svelte-kit | ||
/package | ||
# Rust build artifacts | ||
target/ | ||
|
||
# Node.js dependencies | ||
node_modules/ | ||
|
||
# Git files | ||
.git | ||
.gitignore | ||
|
||
# Documentation | ||
docs/ | ||
|
||
# Editor-specific files | ||
.vscode/ | ||
.idea/ | ||
|
||
# Log files | ||
*.log | ||
|
||
# Operating system files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Environment files | ||
.env | ||
.env.* | ||
.git* | ||
/docs/ | ||
README.md | ||
.dockerignore | ||
*.env | ||
|
||
# Test files | ||
tests/ | ||
|
||
# Backup files | ||
*.bak | ||
*.swp | ||
*~ | ||
|
||
# Docker files (optional, depending on your workflow) | ||
Dockerfile | ||
vite.config.ts.timestamp-* | ||
/config | ||
docker-compose.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
root = true | ||
|
||
[*.{ts,js,svelte,json,html}] | ||
[*.html] | ||
indent_size = 4 | ||
indent_style = space | ||
max_line_length = 120 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Docker Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
tags: | ||
- "v*" | ||
pull_request: | ||
branches: | ||
- "master" | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Log in to the Container registry | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata for docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
flavor: | | ||
latest=true | ||
tags: | | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} | ||
type=sha | ||
- name: Build and push | ||
uses: docker/build-push-action@v6 | ||
with: | ||
context: . | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* | ||
/target | ||
config/vesta.toml | ||
|
||
!config/.gitkeep | ||
node_modules |
Oops, something went wrong.