Skip to content

Commit

Permalink
Merge pull request #1058 from clearlydefined/elr/test-new-deploy
Browse files Browse the repository at this point in the history
use v2.0.0 deploy & pass docker build args
  • Loading branch information
elrayle authored Jul 11, 2024
2 parents a84dbf3 + ce47ee1 commit d4fdf97
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build-and-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,23 @@ on:
branches: [master]

jobs:
upload-package-lock-json:
name: Upload package-lock.json from this repo
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: Upload package-lock.json
uses: actions/upload-artifact@v4
with:
name: package-lock.json
path: package-lock.json

build-and-deploy:
uses: clearlydefined/operations/.github/workflows/[email protected]
name: Build and Deploy
needs: upload-package-lock-json
uses: clearlydefined/operations/.github/workflows/[email protected]
secrets:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
AZURE_WEBAPP_PUBLISH_PROFILE: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_DEV }}
Expand All @@ -19,3 +34,6 @@ jobs:
application-type: ui
azure-app-base-name: clearlydefined
azure-app-name-postfix: -dev
docker-build-args: |
REACT_APP_SERVER="https://dev-api.clearlydefined.io"
REACT_APP_GA_TRACKINGID="${{ secrets.REACT_APP_GA_TRACKINGID_DEV }}"

0 comments on commit d4fdf97

Please sign in to comment.