Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/ui-kit. 🦊 fox ui, svelte 5 and tailwind 4 flo-bit.dev/ui-kit
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576name: Deploy docs
on: push: branches: ['main']
jobs: build: name: Build and deploy docs timeout-minutes: 15 runs-on: ubuntu-latest
steps: - name: Check out code uses: actions/checkout@v4 with: fetch-depth: 2
- name: Cache turbo build setup uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-${{ github.sha }} restore-keys: | ${{ runner.os }}-turbo-
- uses: pnpm/action-setup@v4 with: version: 8.15.6
- name: Setup Node.js environment uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm'
- name: Install dependencies run: pnpm install
- name: Build run: pnpm build env: BASE_PATH: '/${{ github.event.repository.name }}'
- name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Upload Artifacts uses: actions/upload-pages-artifact@v3 with: path: 'apps/docs/build/'
deploy: needs: build runs-on: ubuntu-latest
permissions: pages: write id-token: write
environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}
steps: - name: Deploy id: deployment uses: actions/deploy-pages@v4