diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 9728a47..cc89e23 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -1,5 +1,8 @@ on: push: + branches: + - main + - glydric pull_request: branches: - main @@ -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