Skip to content

Commit

Permalink
Update Import Map in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Sep 27, 2024
1 parent dc62a6e commit 7bd8f18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ jobs:
with:
name: dist

- name: debug
run: pwd && find .

- name: Authenticate with GCP
uses: "google-github-actions/auth@v2"
with:
Expand All @@ -69,3 +66,6 @@ jobs:
with:
path: .
destination: react.microfrontends.app/people/${{ github.run_id }}

- name: Update Import Map
run: curl -u ${{ secrets.DEPLOYER_USERNAME }}:${{ secrets.DEPLOYER_PASSWORD }} -d '{ "service":"@react-mf/people","url":"https://react.microfrontends.app/people/${{ github.run_id }}/react-mf-people.js" }' -X PATCH ${{ secrets.DEPLOYER_HOST }}/services\?env=react -H "Accept:application/json" -H "Content-Type:application/json" --fail --insecure -i

0 comments on commit 7bd8f18

Please sign in to comment.