Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/svelte-depth-3d-component. svelte component to show a fake 3d image with depth map flo-bit.dev/svelte-depth-3d-component
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243name: Deploy to GitHub Pages
on: push: branches: - main
jobs: build_site: runs-on: ubuntu-latest
environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}
steps: - name: Checkout uses: actions/checkout@v3
- name: Install Node.js uses: actions/setup-node@v3 with: node-version: 18 cache: npm
- name: Install dependencies run: npm install
- name: build env: BASE_PATH: '/${{ github.event.repository.name }}' run: | npm run build
- name: Deploy 🚀 uses: peaceiris/actions-gh-pages@v3 # This action will handle the deployment to gh-pages with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build publish_branch: gh-pages user_name: "github-actions[bot]" user_email: "github-actions[bot]@users.noreply.github.com" commit_message: "Deploy to GitHub Pages"