Skip to content

Commit

Permalink
Fix branch names in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrwelch committed Jul 3, 2024
1 parent 41ac678 commit ca3a64e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
# Back in the (default) mdm-ui directory
- name: Link mdm-resources
if: success() && github.ref != 'refs/heads/master'
if: success() && github.ref != 'refs/heads/main'
run: |
npm link @maurodatamapper/mdm-resources
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
MDM_UI_THEME_NAME: nhs-digital

- name: Archive distribution artifacts
if: success() && ( github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' )
if: success() && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/main' )
uses: actions/upload-artifact@v4
with:
name: distribution artifacts
Expand Down

0 comments on commit ca3a64e

Please sign in to comment.