Skip to content

Commit

Permalink
Fix CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Nov 22, 2024
1 parent b3a877c commit 58dc038
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: Deploy to GitHub Pages

# Run workflow on every successful run of the CodeQL workflow
on:
workflow_run:
workflows: ["CodeQL Advanced"]
types:
- completed
push:
branches: [ "main" ]

jobs:
deploy-to-github-pages:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
# use ubuntu-latest image to run steps on
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 58dc038

Please sign in to comment.