diff --git a/.gitea/workflows/deploy-stage.yaml b/.gitea/workflows/deploy-stage.yaml index 85abe79..ef51849 100644 --- a/.gitea/workflows/deploy-stage.yaml +++ b/.gitea/workflows/deploy-stage.yaml @@ -1,4 +1,4 @@ -name: Build and Deploy Docker Container +name: Build and Deploy Docker Container on: push: @@ -52,6 +52,12 @@ jobs: SECURITY_HASH_SIZE: ${{ secrets.SECURITY_HASH_SIZE }} SECURITY_HASH_TOKEN: ${{ secrets.SECURITY_HASH_TOKEN }} SECURITY_SALT_SIZE: ${{ secrets.SECURITY_SALT_SIZE }} + GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} + GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} + YANDEX_CLIENT_ID: ${{ secrets.YANDEX_CLIENT_ID }} + YANDEX_CLIENT_SECRET: ${{ secrets.YANDEX_CLIENT_SECRET }} + MAILRU_CLIENT_ID: ${{ secrets.MAILRU_CLIENT_ID }} + MAILRU_CLIENT_SECRET: ${{ secrets.MAILRU_CLIENT_SECRET }} run: | ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts ssh $SSH_USER@$SSH_HOST " @@ -78,6 +84,12 @@ jobs: -e ACTUAL_SUB_PATH=api \ -e SWAGGER_SUB_PATH=swagger \ -e TZ=Europe/Moscow \ + -e GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID \ + -e GOOGLE_CLIENT_SECRET=GOOGLE_CLIENT_SECRET \ + -e YANDEX_CLIENT_ID=YANDEX_CLIENT_ID \ + -e YANDEX_CLIENT_SECRET=YANDEX_CLIENT_SECRET \ + -e MAILRU_CLIENT_ID=MAILRU_CLIENT_ID \ + -e MAILRU_CLIENT_SECRET=MAILRU_CLIENT_SECRET \ $DOCKER_IMAGE " diff --git a/README.md b/README.md index 02d2276..0450250 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ To set up the `redirect URL` when registering and logging in using OAuth 2, use "{schema}://{domain}{portString}{ACTUAL_SUB_PATH}/api/v1/Auth/OAuth2" ``` -** Where:** +**Where:** - `{schema}` is the protocol you are using (`http` or `https'). - `{domain}` is your domain (for example, `mydomain.com ` or IP address).