diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 56e0580d..00000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Deploy to GitHub Pages -on: - push: - branches: [ main ] - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Check out your repository using git - uses: actions/checkout@v2 - - - name: Use Node.js 18 - uses: actions/setup-node@v2 - with: - node-version: '18' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Patch per https://github.com/trasherdk/sveltestrap/issues/5 - run: ./fix-popper.sh - - - name: Build SvelteKit - run: npm run build - - - name: Avoid 404 on main load - run: cp build/404.html build/index.html - - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: ./build - - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file