From eb823f179846b7d631898a2824e117bb26b993e8 Mon Sep 17 00:00:00 2001 From: lanxu Date: Sun, 27 Oct 2024 20:00:36 +0200 Subject: [PATCH] remove github --- .github/workflows/build.yml | 48 ------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 6857092..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Build and Publish - -on: - push: - branches: ["master"] - pull_request: - branches: ["master"] - -env: - CARGO_TERM_COLOR: always - -jobs: - build: - runs-on: ubuntu-latest - permissions: - pages: write - id-token: write - steps: - - uses: actions/checkout@v4 - - - name: Install Wasm-pack - run: cargo install wasm-pack - - - name: Build - run: wasm-pack build --target=bundler --dev --out-name index - - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - - - name: Build - working-directory: ./www - run: | - npm install - npx webpack - - - name: Github Pages - Setup - uses: actions/configure-pages@v5 - - - name: Github Pages - Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: "./www/dist" - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4