diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8447c95..597db01 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,8 +25,6 @@ permissions: pages: write id-token: write -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: group: "pages" cancel-in-progress: false @@ -44,19 +42,10 @@ jobs: with: python-version: "3.9" - - name: Configure Python - uses: actions/cache@v2 - id: cache - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - ${{ runner.os }}-pip- - - name: Install dependencies run: | git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github".insteadOf https://github + echo ${GITHUB_ACTOR} pip install git+https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/databricks-industry-solutions/industry-solutions-release - name: Package solution accelerator @@ -88,6 +77,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: path: 'site' + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 \ No newline at end of file