Skip to content

Commit

Permalink
feat!: add of all CTFd settings, change API
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Apr 29, 2024
1 parent 4f690dd commit a6da395
Show file tree
Hide file tree
Showing 9 changed files with 724 additions and 179 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
run: go run cmd/ctfd-setup/main.go
env:
URL: http://localhost:8000
APPEARANCE_NAME: 'CTFer.io'
APPEARANCE_DESCRIPTION: 'CTFer.io test CTFd setup'
ADMIN_NAME: 'ctfer'
ADMIN_EMAIL: 'ctfer-io@protonmail.com'
ADMIN_PASSWORD: 'ctfer'
GLOBAL_NAME: 'CTFer.io'
GLOBAL_DESCRIPTION: 'CTFer.io test CTFd setup'

go-lint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Thanks to this, you can integrate it using **GitHub Actions**, **Drone CI** or e
For the CLI configuration, please refer to the binary's specific API through `ctfd-setup --help`.
In use of IaC provisionning scenario, the corresponding environment variables are also mapped to the output, so please refer to it.

### GitHub Actions
### GitHub Actions

To improve our own workflows and share knownledges and tooling, we built a GitHub Action: `ctfer-io/ctfd-setup`.
You can use it given the following example.
Expand Down
Loading

0 comments on commit a6da395

Please sign in to comment.