Commit 32456ab7 authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

fix(ci): Combine jobs and remove git lfs line

parent afc5f439
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -23,17 +23,7 @@ stages:
  - analyze
  - build

lint-prose:
  rules:
    - changes:
      - src/content/**/*
  stage: analyze
  inherit:
    default: true
    variables: true
  script: npm run lint

validate:
lint-and-validate:
  rules:
    - changes:
      - src/content/**/*
@@ -42,6 +32,7 @@ validate:
    default: true
    variables: true
  script:
    - npm run lint
    - npm run format
    - npm run validate

@@ -54,7 +45,6 @@ build-and-publish:
    default: true
    variables: true
  script:
    - git lfs install
    - npm run build
    - git clone https://user:${ACCESS_TOKEN}@code-int.ornl.gov/sites/fact-sheets.git site
    - rm -rf ./site/html/_astro