From 6906a825c3cec89a10ba3819fae69f26485e5e20 Mon Sep 17 00:00:00 2001 From: Charmve Date: Tue, 10 Oct 2023 22:50:00 +0800 Subject: [PATCH] add fund strategy web --- .github/workflows/ci-release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 074bf52..2ef4d1b 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -86,6 +86,7 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt pip install pyinstaller + cd $GITHUB_WORKSPACE/pyfunds/fund-strategies npm install - name: Build Release Files @@ -142,3 +143,21 @@ jobs: asset_path: qbot_release_${{ matrix.os }}_v1.tar.gz asset_name: qbot_release_${{ matrix.os }}_v1.tar.gz asset_content_type: application/gzip + deploy: + environment: + name: fund-strategy-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + # Upload entire repository + path: 'pyfunds/fund-strategies/dist' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file