Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
zzsi committed Sep 25, 2024
1 parent bc3686c commit f8cd8b3
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/nb_diff.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: nbdiff-web-exporter
on: [push]

name: nbdime-git-diff
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
diff-action-test:
build:
runs-on: ubuntu-latest
name: diff notebooks
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: diff notebooks
uses: kuromt/[email protected]
id: nbdiff-web-exporter-action
with:
remote: "origin/diff-notebooks"
export_dir: "./artifacts"
- uses: actions/upload-artifact@v4
with:
name: diff-notebooks
path: ${{steps.nbdiff-web-exporter-action.outputs.export_dir}}
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9.13"
- name: nbdime-git-diff
uses: raybellwaves/[email protected]

0 comments on commit f8cd8b3

Please sign in to comment.