From d9a0022879143be190d4d7fc811ee4167b376472 Mon Sep 17 00:00:00 2001 From: Scott Yang <67733409+scott-yj-yang@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:29:15 -0800 Subject: [PATCH] Fix GitHub Actions for Documentation Website (#12) * update github action * add my branch to action * added dev requirements * try manual deploy * update deploy.yaml * update branch * added nbformat to the requirements (A1 needs it) * updates permission * remote test branch --- .github/workflows/deploy.yaml | 4 ++-- .github/workflows/test.yaml | 7 ------- environment.yml | 1 + settings.ini | 4 ++-- 4 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 29bfc57..139270e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -6,9 +6,9 @@ permissions: on: push: - branches: [ "main", "master" ] + branches: [ "main", "master"] workflow_dispatch: jobs: deploy: runs-on: ubuntu-latest - steps: [uses: fastai/workflows/quarto-ghp@master] + steps: [uses: fastai/workflows/quarto-ghp@master] \ No newline at end of file diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 5608592..0000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,7 +0,0 @@ -name: CI -on: [workflow_dispatch, pull_request, push] - -jobs: - test: - runs-on: ubuntu-latest - steps: [uses: fastai/workflows/nbdev-ci@master] diff --git a/environment.yml b/environment.yml index 965738f..b9c24dc 100644 --- a/environment.yml +++ b/environment.yml @@ -24,3 +24,4 @@ dependencies: - PyGithub - canvasapi - nbdev + - nbformat diff --git a/settings.ini b/settings.ini index 7141902..a188ab9 100644 --- a/settings.ini +++ b/settings.ini @@ -38,6 +38,6 @@ status = 3 user = scott-yj-yang ### Optional ### -requirements = fastcore pandas canvasapi numpy -# dev_requirements = +requirements = fastcore pandas canvasapi numpy nbformat +dev_requirements = nbdev # console_scripts = \ No newline at end of file