diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml deleted file mode 100644 index ab18f7d..0000000 --- a/.github/workflows/build-web.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Build and Deploy Web App - -on: - push: - branches: [ main, master ] - pull_request: - branches: [ main, master ] - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '18' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Build web app - run: npm run build - - - name: Upload build artifacts - uses: actions/upload-artifact@v4 - with: - name: web-build - path: dist/ - - - name: Deploy to GitHub Pages - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist \ No newline at end of file