From 58dc038674fce4432816b882b1f19c8a738ef675 Mon Sep 17 00:00:00 2001 From: Michael Bond Date: Thu, 21 Nov 2024 20:45:03 -0500 Subject: [PATCH] Fix CI/CD --- .github/workflows/main.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec04aa56..ae90fc24 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: