Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/production-deploy-pipeline,yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: workflow — trigger production deployment

on:
push:
branches: [master]

jobs:
quality-assurance:
uses: ./.github/workflows/reusable-quality-assurance.yml
with:
service_path: Applications/Backend

deploy:
needs: quality-assurance
runs-on: ubuntu-latest

defaults:
run:
working-directory: Applications/Backend

steps:
- name: checkout
uses: actions/checkout@v4

- name: build docker image
run: docker build -t httpsrichardy/federation:latest .

- name: login docker hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: push docker image
run: docker push httpsrichardy/federation:latest

- name: deploy webhook
run: curl -X POST ${{ secrets.DEPLOY_WEBHOOK_URL }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public interface IAuthorizationFlowHandler
{
public Grant Grant { get; }


public Task<Result<ClientAuthenticationResult>> HandleAsync(
ClientAuthenticationCredentials parameters,
CancellationToken cancellation = default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ public Task<Result<ClientAuthenticationResult>> AuthenticateAsync(
ClientAuthenticationCredentials credentials,
CancellationToken cancellation = default
);



}
Loading