Commit deb46355 authored by Cain, Jacob Ryan's avatar Cain, Jacob Ryan
Browse files

Merge branch 'ci' into 'main'

CI Updated to only run on main / merge requests to main

See merge request asc/geostac!4
parents f018a6b7 5ce2448b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,11 +17,11 @@ build:
      - dist

deploy:
  rules:
    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME == "main"'
  stage: deploy
  image: usgsastro/aws-cli:latest
  dependencies: 
    - build
  script:
    - aws s3 sync --delete dist s3://asc-stacbrowser/geostac/