build: add providers
This commit is contained in:
parent
3e05863aea
commit
202d20bb25
@ -1,4 +1,4 @@
|
|||||||
name: Build and Deploy Docker Container
|
name: Build and Deploy Docker Container
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -52,6 +52,12 @@ jobs:
|
|||||||
SECURITY_HASH_SIZE: ${{ secrets.SECURITY_HASH_SIZE }}
|
SECURITY_HASH_SIZE: ${{ secrets.SECURITY_HASH_SIZE }}
|
||||||
SECURITY_HASH_TOKEN: ${{ secrets.SECURITY_HASH_TOKEN }}
|
SECURITY_HASH_TOKEN: ${{ secrets.SECURITY_HASH_TOKEN }}
|
||||||
SECURITY_SALT_SIZE: ${{ secrets.SECURITY_SALT_SIZE }}
|
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: |
|
run: |
|
||||||
ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts
|
ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts
|
||||||
ssh $SSH_USER@$SSH_HOST "
|
ssh $SSH_USER@$SSH_HOST "
|
||||||
@ -78,6 +84,12 @@ jobs:
|
|||||||
-e ACTUAL_SUB_PATH=api \
|
-e ACTUAL_SUB_PATH=api \
|
||||||
-e SWAGGER_SUB_PATH=swagger \
|
-e SWAGGER_SUB_PATH=swagger \
|
||||||
-e TZ=Europe/Moscow \
|
-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
|
$DOCKER_IMAGE
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -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"
|
"{schema}://{domain}{portString}{ACTUAL_SUB_PATH}/api/v1/Auth/OAuth2"
|
||||||
```
|
```
|
||||||
|
|
||||||
** Where:**
|
**Where:**
|
||||||
|
|
||||||
- `{schema}` is the protocol you are using (`http` or `https').
|
- `{schema}` is the protocol you are using (`http` or `https').
|
||||||
- `{domain}` is your domain (for example, `mydomain.com ` or IP address).
|
- `{domain}` is your domain (for example, `mydomain.com ` or IP address).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user