Updated dependencies and reverted image gallery route interception wo… #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Dev & Test Branches | |
on: | |
push: | |
branches: | |
- '1.x' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update-branches: | |
runs-on: ubuntu-latest | |
container: | |
image: node:18.10 | |
env: | |
NODE_ENV: development | |
NEXT_PUBLIC_DRUPAL_BASE_URL: ${{ secrets.NEXT_PUBLIC_DRUPAL_BASE_URL }} | |
NEXT_IMAGE_DOMAIN: ${{ secrets.NEXT_IMAGE_DOMAIN }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: 1.x | |
- name: Set git settings | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Github Actions" | |
- name: Update Dev Branch | |
run: | | |
git checkout 1.x | |
git pull | |
git checkout dev | |
git pull | |
git rebase 1.x | |
git push -f | |
- name: Update Test Branch | |
run: | | |
git checkout 1.x | |
git pull | |
git checkout test | |
git pull | |
git rebase 1.x | |
git push -f |