Skip to content

Commit

Permalink
hopefully restore build
Browse files Browse the repository at this point in the history
  • Loading branch information
bast committed Aug 30, 2024
1 parent 49b78e7 commit 6df19ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ name: Build and deploy website preview

env:
ZOLA_VERSION: "0.18.0"
MAIN_BRANCH: "main"
TARGET_BRANCH: "gh-pages"
CNAME: "nordic-rse.org"

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-upon-push-or-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ name: Build and deploy website upon push or merge to main

env:
ZOLA_VERSION: "0.18.0"
MAIN_BRANCH: "main"
TARGET_BRANCH: "gh-pages"
CNAME: "nordic-rse.org"

Expand All @@ -30,7 +29,7 @@ jobs:
runs-on: ubuntu-latest

# only run on push to main branch or merge to main branch (not on prs that are under review)
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', env.MAIN_BRANCH) }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

steps:
- name: Checkout repository and submodules
Expand Down

0 comments on commit 6df19ac

Please sign in to comment.