Skip to content

Commit

Permalink
Bug fix for frontend workflow (#708)
Browse files Browse the repository at this point in the history
* Updating to run on separate branch

* Updating to run on separate branch

* fixing error with git pull

* auto-update via GH Action

* Catalog validation (#704) (#705)

* Updating to run on separate branch

* Updating to run on separate branch

* fixing error with git pull

* auto-update via GH Action

* Updating frontend action

* Updating github action

* Updating github action

* Updating github action

* Updating github action

* Updating github action

* Updating github action

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
IFenton and github-actions[bot] authored Aug 7, 2024
1 parent 81ad255 commit 8dbaba4
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,26 @@ on: [push, pull_request]
jobs:
build-and-deploy-if-main:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: catalog-validation
fetch-depth: 0

- name: Update branch
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout main
git fetch origin
git checkout catalog-validation
git pull
git merge origin/main
git push origin catalog-validation
- name: Pull changes from main
run: git config pull.rebase true

- name: Install node
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 8dbaba4

Please sign in to comment.