Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
build:

name: Deploy/Release (main)
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main' ) }}

# Set up URLs for GitHub Pages report
environment:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Run buildtool
uses: matlab-actions/run-build@v2
with:
tasks: test # change to compile
tasks: compile # change to compile

# Configure GitHub Pages to accept your artifact uploads
- name: Setup Pages
Expand All @@ -113,12 +113,12 @@ jobs:
with:
path: results # Upload results

# # Upload compiled CTF file to deploy Web App
# - name: Upload CTF file
# uses: actions/upload-artifact@v6
# with:
# name: WebApp_CTF
# path: WebAppArchive/*.ctf
# Upload compiled CTF file to deploy Web App
- name: Upload CTF file
uses: actions/upload-artifact@v6
with:
name: WebApp_CTF
path: WebAppArchive/*.ctf

# Publish reports to GitHub Pages so they can be viewed in a browser
- name: Deploy to GitHub Pages
Expand Down