Skip to content

Commit

Permalink
Let's do both local and main bundles in one run
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Feb 2, 2024
1 parent e4592f5 commit d967602
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- local
workflow_dispatch:

concurrency:
Expand All @@ -26,6 +27,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@v4
Expand All @@ -35,8 +38,11 @@ jobs:
- name: Install Antora
run: npm install antora

- name: Generate UI framework
run: gulp bundle
- name: Generate UI framework (local)
run: git checkout local && gulp bundle && mv ui-bundle.zip ui-bundle-local.zip

- name: Generate UI framework (primary)
run: git checkout main && gulp bundle

- name: Disable Jekyll
run: touch .nojekyll
Expand Down

0 comments on commit d967602

Please sign in to comment.