yarn #16
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
name: Docs Deployment | |
on: push | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: Install and Build 🔧 | |
run: | # Install npm packages and build the docs | |
yarn | |
yarn build | |
yarn build:docs | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: docs | |
CLEAN: true | |
SINGLE_COMMIT: true | |
# TARGET_FOLDER: docs # The folder that we serve our Storybook files | |
GIT_CONFIG_NAME: lukasbachbot | |
GIT_CONFIG_EMAIL: [email protected] |