Commit 373f7c62 authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

wip(ci): Use rust image or testing

parent 37d7c133
Loading
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ test:

publish:
  stage: deploy
  image: rust
  inherit:
    default: true
    variables: true
@@ -59,13 +60,13 @@ publish:
      - node_modules
  when: manual
  script:
    - npm run download
    - npm run build
    # - npm run download
    # - npm run build
    - git clone https://user:${ACCESS_TOKEN}@code-int.ornl.gov/sites/research.git site
    - rm -rf ./site/html/_astro
    - cp --force --recursive --verbose html site
    - cd site
    - git lfs track "*.pdf*" && mv .gitattributes html
    - git add html
    - git commit -m "Publish changes"
    - git push
    # - rm -rf ./site/html/_astro
    # - cp --force --recursive --verbose html site
    # - cd site
    # - git lfs track "*.pdf*" && mv .gitattributes html
    # - git add html
    # - git commit -m "Publish changes"
    # - git push