feat: #417 drag outside behavior (#420) #270
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: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: volta-cli/action@v4 | |
- name: Dependencies | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Storybook | |
run: yarn build-storybook | |
- name: Prepare | |
run: | | |
mv ./storybook-static ./packages/docs/build/storybook | |
echo 'rct.lukasbach.com' >> ./packages/docs/build/CNAME | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: packages/docs/build | |
CLEAN: true | |
SINGLE_COMMIT: true | |
GIT_CONFIG_NAME: lukasbachbot | |
GIT_CONFIG_EMAIL: [email protected] |