From 020881d8b7ae296688f18059de13ec73ab4937a8 Mon Sep 17 00:00:00 2001 From: Ruizhi Yu Date: Tue, 30 Jul 2024 15:54:12 +0800 Subject: [PATCH] docs: move Solverz docs to new container --- ...-static-web-apps-yellow-wave-030a64900.yml | 46 ------------------- .github/workflows/doc-deploy.yml | 4 +- .gitignore | 2 + 3 files changed, 4 insertions(+), 48 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-yellow-wave-030a64900.yml diff --git a/.github/workflows/azure-static-web-apps-yellow-wave-030a64900.yml b/.github/workflows/azure-static-web-apps-yellow-wave-030a64900.yml deleted file mode 100644 index f299531..0000000 --- a/.github/workflows/azure-static-web-apps-yellow-wave-030a64900.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - lfs: false - - name: Build And Deploy - id: builddeploy - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_YELLOW_WAVE_030A64900 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### - # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/" # App source code path - api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_YELLOW_WAVE_030A64900 }} - action: "close" diff --git a/.github/workflows/doc-deploy.yml b/.github/workflows/doc-deploy.yml index ee0774a..e4b5601 100644 --- a/.github/workflows/doc-deploy.yml +++ b/.github/workflows/doc-deploy.yml @@ -34,7 +34,7 @@ jobs: id: builddeploy uses: Azure/static-web-apps-deploy@v1 with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_MUSHROOM_012AD4400 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_YELLOW_WAVE_030A64900 }} repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### @@ -53,5 +53,5 @@ jobs: id: closepullrequest uses: Azure/static-web-apps-deploy@v1 with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_MUSHROOM_012AD4400 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_YELLOW_WAVE_030A64900 }} action: "close" diff --git a/.gitignore b/.gitignore index 75be798..337c616 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ Solverz/Scripts Solverz/share *.nbc *.nbi +/Solverz.egg-info +Solverz/_version.py