Loading .gitlab-ci.yml +10 −9 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ test: publish: stage: deploy image: rust inherit: default: true variables: true Loading @@ -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 Loading
.gitlab-ci.yml +10 −9 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ test: publish: stage: deploy image: rust inherit: default: true variables: true Loading @@ -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