Skip to content

Commit

Permalink
deploy staging workflow to bundle branch
Browse files Browse the repository at this point in the history
  • Loading branch information
HughParry committed Jul 31, 2024
1 parent 9ef7504 commit 5a70867
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,21 @@ jobs:
NODE_ENV=staging npm run bundle:staging
- name: Checkout js-bundle branch
run: |
git fetch origin js-bundle:js-bundle
git checkout js-bundle
- name: Copy built bundle to js-bundle branch
run: |
cp packages/procaptcha-bundle/dist/bundle/* .
git add -A
git commit -m 'Deploy JS bundle from mstagingain'
- name: Push the bundle to js-bundle branch
run: |
git push origin js-bundle --force
- name: Build docker js_server
run: |
set -euxo pipefail # stop on errors, print commands, fail on pipe fails
Expand Down Expand Up @@ -198,7 +213,6 @@ jobs:
echo "Navigating back to project root..."
cd ../..
- name: Docker js_server release
id: docker_js_server_release
run: |
Expand Down

0 comments on commit 5a70867

Please sign in to comment.