Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed May 17, 2024
1 parent 1d8d559 commit 519476d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ jobs:

- name: Execute server commands for building and deploying
uses: appleboy/ssh-action@master
env:
MATRIX_HOME_SERVER: ${{ secrets.MATRIX_HOME_SERVER }}
MATRIX_BOT_USERNAME: ${{ secrets.MATRIX_BOT_USERNAME }}
MATRIX_BOT_PASSWORD: ${{ secrets.MATRIX_BOT_PASSWORD }}
ERRORS_ROOM_ID: ${{ secrets.ERRORS_ROOM_ID }}
USER_ALLOWED_DOMAINS: ${{ secrets.USER_ALLOWED_DOMAINS }}
SALT: ${{ secrets.SALT }}
ALBERT_API_URL: ${{ secrets.ALBERT_API_URL }}
ALBERT_API_TOKEN: ${{ secrets.ALBERT_API_TOKEN }}
ALBERT_API_MODEL_NAME: ${{ secrets.ALBERT_API_MODEL_NAME }}
with:
host: ${{ secrets.CI_DEPLOY_HOST }}
username: ${{ secrets.CI_DEPLOY_USER }}
Expand All @@ -74,3 +84,4 @@ jobs:
docker compose down
docker compose up --detach
rm -rf /home/${{ secrets.CI_DEPLOY_USER }}/${{ env.CI_JOB_ID }}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- SESSION_PATH=/data/session.txt
- GROUPS_USED=["basic", "albert"]
- USER_ALLOWED_DOMAINS=${USER_ALLOWED_DOMAINS}
- SALT=${salt}
- SALT=${SALT}
- ALBERT_API_URL=${ALBERT_API_URL}
- ALBERT_API_TOKEN=${ALBERT_API_TOKEN}
- ALBERT_API_MODEL_NAME=${ALBERT_API_MODEL_NAME}
Expand Down

0 comments on commit 519476d

Please sign in to comment.