From c605e4eb9b8687e9bf8bceb1549c6ac89362bda1 Mon Sep 17 00:00:00 2001 From: Caspar Jungbacker Date: Thu, 30 Mar 2023 15:52:34 +0200 Subject: [PATCH] Deleted .github/workflows/deploy.yml --- .github/workflows/deploy.yml | 57 ------------------------------------ 1 file changed, 57 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 270dcf6..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: deploy - -on: - push: - branches: - - main - paths: - - "book/**" - - ".github/workflows/**" - -permissions: - contents: write - -defaults: - run: - shell: bash - -jobs: - build-book: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Setup Python - uses: actions/setup-python@v1 - with: - python-version: "3.10" - - # Setup virtualenv with caching - - name: Setup venv - uses: syphar/restore-virtualenv@v1 - with: - requirement_files: requirements.txt - - # Pip download cache - - name: Setup pip cache - uses: syphar/restore-pip-download-cache@v1 - if: steps.cache-virtualenv.outputs.cache-hit != 'true' - - # Install dependencies - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip setuptools wheel - pip install -r requirements.txt - if: steps.cache-virtualenv.outputs.cache-hit != 'true' - - # Build the Jupyter Book - - name: Build book - run: | - jupyter book build book/ - - - name: GitHub Pages actions - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: book/_build/html/ \ No newline at end of file