Skip to content

Commit

Permalink
GitHub Actions With FusionAuth Image Update (#3303)
Browse files Browse the repository at this point in the history
* remove diagrams

* add images

* Shrink images

---------

Co-authored-by: alex-fusionauth <alex-fusionauth@users.noreply.github.com>
  • Loading branch information
alex-fusionauth and alex-fusionauth authored Dec 10, 2024
1 parent b000087 commit 3b6ab98
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 79 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ codeRoot: https://raw.githubusercontent.com/FusionAuth/fusionauth-example-github
---
import InlineUIElement from 'src/components/InlineUIElement.astro';
import Aside from '/src/components/Aside.astro';
import {RemoteCode} from '@fusionauth/astro-components';
import { RemoteCode } from '@fusionauth/astro-components';
import ScrollRef from 'src/components/ScrollRef.astro';
import AppDatabaseDiagram from 'src/diagrams/docs/get-started/run-in-cloud/github-actions/app-database.astro';
import ActionWorkflowDiagram from 'src/diagrams/docs/get-started/run-in-cloud/github-actions/action-workflow.astro';
import OverviewDiagram from 'src/diagrams/docs/get-started/run-in-cloud/github-actions/overview.astro';

## Introduction

Expand All @@ -33,7 +30,7 @@ You will need Docker and Node.js installed to run the example application accomp

FusionAuth provides login functionality for your web application. Users are stored in the FusionAuth database, separate from the database your app uses to keep its data. Assuming you have built a login page that redirects a user to FusionAuth, your system will have the components shown below.

<AppDatabaseDiagram/>
<img src="/img/docs/get-started/run-in-the-cloud/github_actions/get-started-run-in-the-cloud-prerequisites.png" alt="Diagram showing external websites using FusionAuth." />

You might have the following questions:
- How do I deploy these components to production?
Expand All @@ -50,13 +47,13 @@ GitHub provides a tool for automating workflows called GitHub Actions. It provid

The flow looks like the diagram below.

<ActionWorkflowDiagram/>
<img src="/img/docs/get-started/run-in-the-cloud/github_actions/get-started-run-in-the-cloud-some-definitions-and-goals.png" alt="Diagram showing how GitHub Actions are created, triggered, and run inside GitHub." />

## A Simple Example Using GitHub Actions

There is a minimal but complete CI/CD example in this <a href={frontmatter.url}>repository</a>. An overview of the setup is shown below.

<OverviewDiagram />
<img src="/img/docs/get-started/run-in-the-cloud/github_actions/get-started-run-in-the-cloud-github-actions.png" alt="A CI/CD diagram showing how to use GitHub actions with FusionAuth." />

In GitHub, click <InlineUIElement>Fork</InlineUIElement> and add the repository to your GitHub account. Then run `git clone https://github.com/<your_username>/fusionauth-example-github-actions.git` in a terminal to download it. Remember to replace `<your_username>` with your GitHub username.

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 3b6ab98

Please sign in to comment.