Skip to content

Instantly share code, notes, and snippets.

@Deborah-Digges
Created October 30, 2020 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Deborah-Digges/bf750b042e9f403356d792b6198ee5b2 to your computer and use it in GitHub Desktop.
Save Deborah-Digges/bf750b042e9f403356d792b6198ee5b2 to your computer and use it in GitHub Desktop.
publish storybook action.yml example
name: 'Storybook Publisher'
description: 'Publish a Storybook Site to GitHub Pages'
inputs:
access-token:
description: 'A GitHub personal access token used to commit to a branch on your behalf.'
required: true
branch:
description: 'The branch to publish your Storybook site to.'
required: true
default: 'gh-pages'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.access-token }}
- ${{ inputs.branch }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment