API deployment
All checks were successful
Deploy API / deploy (ubuntu-latest, 2.44.0) (push) Successful in 27s

This commit is contained in:
Braydon 2024-09-18 00:51:00 -04:00
parent 22ff1a2efb
commit 3c471b5cd7
2 changed files with 36 additions and 0 deletions

@ -0,0 +1,31 @@
name: Deploy API
on:
push:
branches: ["master"]
paths-ignore:
- README.md
- LICENSE
jobs:
deploy:
strategy:
matrix:
arch: ["ubuntu-latest"]
git-version: ["2.44.0"]
runs-on: ${{ matrix.arch }}
# Steps to run
steps:
# Checkout the repo
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Deploy to Dokku
- name: Deploy to Dokku
uses: dokku/github-action@master
with:
git_remote_url: "ssh://dokku@10.10.70.73:22/api"
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

@ -8,6 +8,11 @@ logging:
file: file:
path: "./logs" path: "./logs"
# Flagsmith Configuration
flagsmith:
api-url: "https://flags.flagsmith.com/api/v1/"
api-key: "CHANGE_ME"
# Cloudflare Captcha Configuration # Cloudflare Captcha Configuration
captcha: captcha:
secret: "CHANGE_ME" secret: "CHANGE_ME"