Skip to content

Commit

Permalink
Create synapse-sql-ads-jupiter-notebook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanpop-msft authored Nov 20, 2020
1 parent a125303 commit 2df8771
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/synapse-sql-ads-jupiter-notebook.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 }}

0 comments on commit 2df8771

Please sign in to comment.