Skip to content

Commit

Permalink
feat: add support of GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Apr 10, 2024
1 parent a20e799 commit 7b4be70
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'CTFd-Setup'
author: 'ctfer-io'
description: 'Setup a CTFd from a versionned configuration file'

inputs:
file:
description: 'Configuration file to use for setting up CTFd. If let empty, will default the values and look for secrets in expected environment variables. For more info, refers to the documentation.'
required: false
url:
description: 'URL to reach the CTFd instance.'
required: true

runs:
using: 'docker'
image: 'Dockerfile'
env:
FILE: ${{ inputs.file }}
CTFD_URL: ${{ inputs.url }}

0 comments on commit 7b4be70

Please sign in to comment.