Skip to content

Commit c0ac672

Browse files
ryanslattenClinton Werth
andauthored
ArcGIS duplicate features sent to the feature service (#259)
* Fixes issue where deleted/archived observations were consistently 'deleted' from the feature layer. Other code clean up. * Updated github actions to build docker container on feature branches. Will still only deploy to dev/test on develop/test branch. --------- Co-authored-by: Clinton Werth <[email protected]>
1 parent 6a59383 commit c0ac672

File tree

9 files changed

+11579
-11975
lines changed

9 files changed

+11579
-11975
lines changed

.github/workflows/aws_dev.deploy.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: AWS Dev Deployment
33
on:
44
push:
55
branches:
6-
- develop
7-
- test
6+
- '**'
7+
workflow_dispatch:
88

99
permissions:
1010
id-token: write
@@ -36,17 +36,18 @@ jobs:
3636
id: ecr-login
3737
uses: aws-actions/amazon-ecr-login@v2
3838

39-
- name: Build Docker image and push
39+
- name: Build Docker image
4040
env:
4141
REGISTRY: ${{ steps.ecr-login.outputs.registry }}
4242
REPOSITORY: "/mage/server"
4343
IMAGE_TAG: ${{ env.IMAGE_TAG }}
4444
run: |
4545
docker build -t $REGISTRY$REPOSITORY:$IMAGE_TAG .
46-
docker push $REGISTRY$REPOSITORY:$IMAGE_TAG
4746
48-
- name: ReDeploy ECS Service
47+
- name: Push Image and ReDeploy ECS Service
48+
if: github.ref =='refs/heads/test' || github.ref =='refs/heads/develop'
4949
env:
5050
SERVICE: "mage${{ env.IMAGE_TAG }}"
5151
run: |
52+
docker push $REGISTRY$REPOSITORY:$IMAGE_TAG
5253
aws ecs update-service --cluster magedev --service $SERVICE --force-new-deployment

0 commit comments

Comments
 (0)