From 69399b04d4c27726f0b72fff04431a86baac05b6 Mon Sep 17 00:00:00 2001 From: nstelter-slac Date: Mon, 1 Dec 2025 11:58:58 -0800 Subject: [PATCH] stop docs deployment from this repo docs and build/depoyment scripts have been moved to the main badger slaclab repo (https://github.com/xopt-org/Badger). so comment out the build/deployment script in this repo. --- .github/workflows/documentation.yml | 105 ++++++++++++++-------------- 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 966e781..4e8e350 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,53 +1,56 @@ -name: documentation +# docs are moved to main badger repo (https://github.com/xopt-org/Badger), +# where they build/deploy with .github/workflows/docs.yml -on: - pull_request: - branches: [xopt-org] - push: - branches: [xopt-org] +# name: documentation -jobs: - checks: - if: github.event_name != 'push' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: '18.x' - - name: Test Build - run: | - if [ -e yarn.lock ]; then - yarn install --frozen-lockfile - elif [ -e package-lock.json ]; then - npm ci - else - npm i - fi - npm run build - gh-release: - if: github.event_name != 'pull_request' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: '18.x' - - uses: webfactory/ssh-agent@v0.5.0 - with: - ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY_SLACLAB }} - - name: Release to GitHub Pages - env: - USE_SSH: true - GIT_USER: git - run: | - git config --global user.email "wenatuhs@gmail.com" - git config --global user.name "wenatuhs" - if [ -e yarn.lock ]; then - yarn install --frozen-lockfile - elif [ -e package-lock.json ]; then - npm ci - else - npm i - fi - npm run deploy \ No newline at end of file +# on: +# pull_request: +# branches: [xopt-org] +# push: +# branches: [xopt-org] + +# jobs: +# checks: +# if: github.event_name != 'push' +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v1 +# - uses: actions/setup-node@v1 +# with: +# node-version: '18.x' +# - name: Test Build +# run: | +# if [ -e yarn.lock ]; then +# yarn install --frozen-lockfile +# elif [ -e package-lock.json ]; then +# npm ci +# else +# npm i +# fi +# npm run build +# gh-release: +# if: github.event_name != 'pull_request' +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v1 +# - uses: actions/setup-node@v1 +# with: +# node-version: '18.x' +# - uses: webfactory/ssh-agent@v0.5.0 +# with: +# ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY_SLACLAB }} +# - name: Release to GitHub Pages +# env: +# USE_SSH: true +# GIT_USER: git +# run: | +# git config --global user.email "wenatuhs@gmail.com" +# git config --global user.name "wenatuhs" +# if [ -e yarn.lock ]; then +# yarn install --frozen-lockfile +# elif [ -e package-lock.json ]; then +# npm ci +# else +# npm i +# fi +# npm run deploy \ No newline at end of file