From d60f86e2cb47aa126fdba96eda4110b5e9835a54 Mon Sep 17 00:00:00 2001 From: Brandon V Date: Thu, 26 Sep 2024 00:15:22 -0500 Subject: [PATCH 1/5] add jekyll workflow --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8d05f57 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +name: Build Jekyll site +on: + push: + branches: ["main"] +permissions: + contents: read + pages: write + id-token: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + uses: jerryjvl/jekyll-build-action@v1 \ No newline at end of file From 85ee14a39773fc1a0ecd9a8e12b2e33f6506423e Mon Sep 17 00:00:00 2001 From: Brandon V Date: Thu, 26 Sep 2024 00:18:16 -0500 Subject: [PATCH 2/5] cleaned up un-needed code --- .github/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d05f57..8f8f9e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,10 +2,7 @@ name: Build Jekyll site on: push: branches: ["main"] -permissions: - contents: read - pages: write - id-token: write + jobs: build: runs-on: ubuntu-latest @@ -13,4 +10,4 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Build - uses: jerryjvl/jekyll-build-action@v1 \ No newline at end of file + uses: jerryjvl/jekyll-build-action@v1s \ No newline at end of file From 5ef3cb14e2d90faa43d3d1e49e95665bbcccf7a2 Mon Sep 17 00:00:00 2001 From: bvandermeersch Date: Sat, 28 Sep 2024 14:35:00 -0500 Subject: [PATCH 3/5] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f8f9e6..07af1e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,4 +10,4 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Build - uses: jerryjvl/jekyll-build-action@v1s \ No newline at end of file + uses: jerryjvl/jekyll-build-action@v1 From e2a5939343d39c416e492d83347d2dfc116a1ebd Mon Sep 17 00:00:00 2001 From: bvandermeersch Date: Sat, 28 Sep 2024 14:35:43 -0500 Subject: [PATCH 4/5] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07af1e3..5935839 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: Build Jekyll site on: - push: - branches: ["main"] + pull_request_review: + types: [submitted, edited] jobs: build: From c8d2a245caf67a7fe2d27b7a8749e3faf2dc64f8 Mon Sep 17 00:00:00 2001 From: bvandermeersch Date: Sat, 28 Sep 2024 14:36:48 -0500 Subject: [PATCH 5/5] Update build.yml --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5935839..432d120 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: jobs: build: + if: ${{ github.event.pull_request.base.ref == 'main' }} runs-on: ubuntu-latest steps: - name: Checkout