forked from danny-avila/LibreChat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'danny-avila:main' into main
- Loading branch information
Showing
431 changed files
with
20,876 additions
and
9,470 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
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
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,17 @@ | ||
name: Lint for accessibility issues | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'client/src/**' | ||
|
||
jobs: | ||
axe-linter: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dequelabs/axe-linter-action@v1 | ||
with: | ||
api_key: ${{ secrets.AXE_LINTER_API_KEY }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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,41 @@ | ||
name: Update Test Server | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Docker Dev Images Build"] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
if: | | ||
github.repository == 'danny-avila/LibreChat' && | ||
(github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success') | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install SSH Key | ||
uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.DO_SSH_PRIVATE_KEY }} | ||
known_hosts: ${{ secrets.DO_KNOWN_HOSTS }} | ||
|
||
- name: Run update script on DigitalOcean Droplet | ||
env: | ||
DO_HOST: ${{ secrets.DO_HOST }} | ||
DO_USER: ${{ secrets.DO_USER }} | ||
run: | | ||
ssh -o StrictHostKeyChecking=no ${DO_USER}@${DO_HOST} << EOF | ||
sudo -i -u danny bash << EEOF | ||
cd ~/LibreChat && \ | ||
git fetch origin main && \ | ||
npm run update:deployed && \ | ||
git checkout do-deploy && \ | ||
git rebase main && \ | ||
npm run start:deployed && \ | ||
echo "Update completed. Application should be running now." | ||
EEOF | ||
EOF |
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,35 @@ | ||
name: Build Helm Charts on Tag | ||
|
||
# The workflow is triggered when a tag is pushed | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
release: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v4 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: helmchart | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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,4 +1,4 @@ | ||
# v0.7.3 | ||
# v0.7.4 | ||
|
||
# Base node image | ||
FROM node:20-alpine AS node | ||
|
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
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
Oops, something went wrong.