Skip to content

Commit

Permalink
use context vars instead of secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrckd committed May 23, 2024
1 parent 61b8da6 commit b5ffbda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ jobs:
echo MATRIX_BOT_PASSWORD=${{ secrets.MATRIX_BOT_PASSWORD }} >> .env
echo ERRORS_ROOM_ID=${{ secrets.ERRORS_ROOM_ID }} >> .env
echo USER_ALLOWED_DOMAINS=${{ secrets.USER_ALLOWED_DOMAINS }} >> .env
echo JOIN_ON_INVITE=${{ secrets.JOIN_ON_INVITE }} >> .env
echo JOIN_ON_INVITE=${{ vars.JOIN_ON_INVITE }} >> .env
echo SALT=${{ secrets.SALT }} >> .env
echo ALBERT_API_URL=${{ secrets.ALBERT_API_URL }} >> .env
echo ALBERT_API_TOKEN=${{ secrets.ALBERT_API_TOKEN }} >> .env
echo ALBERT_API_MODEL_NAME=${{ secrets.ALBERT_API_MODEL_NAME }} >> .env
echo ALBERT_API_MODE=${{ secrets.ALBERT_API_MODE }} >> .env
echo GROUPS_USED=${{ secrets.GROUPS_USED }} >> .env
echo ALBERT_API_MODEL_NAME=${{ vars.ALBERT_API_MODEL_NAME }} >> .env
echo ALBERT_API_MODE=${{ vars.ALBERT_API_MODE }} >> .env
echo GROUPS_USED=${{ vars.GROUPS_USED }} >> .env
cat .env
- name: Copy deployment files to remote server via SCP
Expand Down

0 comments on commit b5ffbda

Please sign in to comment.