fix: tus not handling correctly sendOnCreate with file smaller than c… #60
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: Uploady Storybook Publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
publish: | |
name: Publish Uploady Storybook | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare | |
uses: ./.github/actions/prepare | |
- name: Build Storybook Site | |
run: pnpm sb:build:prod | |
- name: Install Netlify CLI | |
run: pnpm install -w netlify-cli | |
- name: Publish Storybook to Netlify | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
run: | | |
netlify deploy --prod --debug --cwd .sb-static | |
#netlify deploy --trigger | |
# NETLIFY_DEPLOY_MESSAGE: "Deployed from GitHub action" | |
# NETLIFY_DEPLOY_TO_PROD: true | |
# install_command: "echo Skipping installing the dependencies" | |
# build_command: "echo Skipping building the web files" | |