Skip to content

Commit

Permalink
using secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Glydric committed Dec 6, 2023
1 parent 8625bb7 commit aa3a872
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on:
push:
branches:
- main
- glydric
pull_request:
branches:
- main
Expand All @@ -10,6 +13,15 @@ jobs:

steps:
- uses: actions/checkout@v2
env:
MONGO_PROTOCOL: ${{secrets.MONGO_PROTOCOL}}
MONGO_HOST: ${{secrets.MONGO_HOST}}
MONGO_INITDB_ROOT_USERNAME: ${{secrets.MONGO_INITDB_ROOT_USERNAME}}
MONGO_INITDB_ROOT_PASSWORD: ${{secrets.MONGO_INITDB_ROOT_PASSWORD}}
JWT_SECRET: ${{secrets.JWT_SECRET}}
CSD_USER: ${{secrets.CSD_USER}}
CSD_PASSWORD: ${{secrets.CSD_PASSWORD}}
TELEGRAM_TOKEN: ${{secrets.TELEGRAM_TOKEN}}
- name: Install dependencies
working-directory: "Backend"
run: npm ci
Expand Down

0 comments on commit aa3a872

Please sign in to comment.