From 7ab01e2a60fc958ea7803d940b5392d61237e69e Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Fri, 1 Nov 2024 10:04:30 -0500 Subject: [PATCH] chore: remove pages and fix demo URL (#172) closes #171 --- .github/workflows/pages.yaml | 58 ------------------------------------ README.md | 2 +- 2 files changed, 1 insertion(+), 59 deletions(-) delete mode 100644 .github/workflows/pages.yaml diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml deleted file mode 100644 index b37a8ad..0000000 --- a/.github/workflows/pages.yaml +++ /dev/null @@ -1,58 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: - - master - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: pages - cancel-in-progress: true - -jobs: - deploy: - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - runs-on: ubuntu-latest - - steps: - - - name: Checkout - uses: actions/checkout@v3 - - - run: npm ci - - - run: npm run build - - - run: npm test - - - name: Setup Pages - run: | - cp -rL examples public - cp -r bundles public/js - build_commit="${{ github.sha }}" - build_time=$(date -u +"%Y-%m-%dT%H:%M:%SZ") - sed -Ez \ - -e 's#\.\./bundles/skinview3d\.bundle\.js#js/skinview3d.bundle.js#g' \ - -e 's#\{\{build_commit\}\}#'$build_commit'#g' \ - -e 's#\{\{build_time\}\}#'$build_time'#g' \ - -e 's##\1#g' \ - -i public/*.html - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: public - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@main diff --git a/README.md b/README.md index de70c5a..efafca5 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Three.js powered Minecraft skin viewer. * FXAA (fast approximate anti-aliasing) # Usage -[Example of using skinview3d](https://bs-community.github.io/skinview3d/) +[Example of using skinview3d](https://skinview3d-demo.vercel.app) [![CodeSandbox](https://img.shields.io/badge/Codesandbox-040404?style=for-the-badge&logo=codesandbox&logoColor=DBDBDB)](https://codesandbox.io/s/skinview3d-template-vdmuh4)