From 2df8771b062ff4bb1e8cfc4005bfe10722e22467 Mon Sep 17 00:00:00 2001 From: "Jovan Popovic (MSFT)" Date: Fri, 20 Nov 2020 15:39:16 +0100 Subject: [PATCH] Create synapse-sql-ads-jupiter-notebook.yml --- .../synapse-sql-ads-jupiter-notebook.yml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/synapse-sql-ads-jupiter-notebook.yml diff --git a/.github/workflows/synapse-sql-ads-jupiter-notebook.yml b/.github/workflows/synapse-sql-ads-jupiter-notebook.yml new file mode 100644 index 0000000..aa99449 --- /dev/null +++ b/.github/workflows/synapse-sql-ads-jupiter-notebook.yml @@ -0,0 +1,42 @@ +# This is a basic workflow that is manually triggered +name: Remote Jupyter Book + +# Controls when the action will run. Workflow runs when manually triggered using the UI +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + directory: + description: 'Jupyter Book to Release (defaults to whole repository)' + default: './Notebooks/TSQL/Jupiter' + required: true + releasename: + description: 'Release name' + required: true + bookname: + description: 'Book name' + required: true + versionnumber: + description: 'Version number' + required: true + languageid: + description: 'Language id' + default: 'EN' + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + RemoteBook: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Publish book + uses: dzsquared/jupyter-publish-action@v0.1.0 + with: + directory: ${{ github.event.inputs.directory }} + releasename: ${{ github.event.inputs.releasename }} + bookname: ${{ github.event.inputs.bookname }} + versionnumber: ${{ github.event.inputs.versionnumber }} + languageid: ${{ github.event.inputs.languageid }} + githubtoken: ${{ secrets.GITHUB_TOKEN }}