-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create synapse-sql-ads-jupiter-notebook.yml
- Loading branch information
1 parent
a125303
commit 2df8771
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |