Skip to content

Commit

Permalink
ci: Reverse build dependencies to try to make Jekyll not remove metan…
Browse files Browse the repository at this point in the history
…orma site generated artifacts
  • Loading branch information
ribose-jeffreylau committed Feb 4, 2025
1 parent 4523de0 commit 54bb80d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
#
build-admin:
name: Build admin docs
needs: build-site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -48,6 +49,7 @@ jobs:
build-standards:
name: Build standards docs
needs: build-site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -64,7 +66,6 @@ jobs:
build-site:
name: Build site
needs: [build-admin, build-standards]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -80,6 +81,16 @@ jobs:
- name: Build site
run: |
make _site
upload-artifact:
name: Upload pages artifact
needs: [build-site, build-admin, build-standards]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
depth: 1
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
Expand All @@ -90,7 +101,8 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
needs: build-site
# needs: [build-admin, build-standards]
needs: upload-artifact
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 54bb80d

Please sign in to comment.