diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 2ee6307..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,68 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy CI - -on: - push: - branches: ["main"] - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: install toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: wasm32-unknown-unknown - override: true - profile: minimal - - - name: Install Nodejs - uses: actions/setup-node@v4 - with: - node-version: "20.x" - - - name: Install trunk - uses: jetli/trunk-action@v0.1.0 - with: - version: "latest" - - - name: Install PNPM - run: npm install -g pnpm - - - name: Install dependencies - run: pnpm install - - - name: Compile css files - run: pnpm run css - - - name: Build - run: trunk build - - - name: Setup Pages - uses: actions/configure-pages@v3 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v2 - with: - path: "./dist" - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2