Skip to content

Commit

Permalink
Add rCTF workflow to template
Browse files Browse the repository at this point in the history
  • Loading branch information
ky28059 committed Feb 17, 2025
1 parent 1b38092 commit 5d8df02
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/upload-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Upload challenge metadata to rCTF on merge
on:
push:
branches:
- main
paths:
- "src/**"
jobs:
build_and_deploy:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: b01lers/rctf-deploy-action@main
with:
rctf-url: '...'
rctf-token: ${{ secrets.RCTF_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
__pycache__/
.mypy_cache
.mypy_cache
.idea
Empty file added src/.gitkeep
Empty file.

0 comments on commit 5d8df02

Please sign in to comment.