diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml deleted file mode 100644 index 4a0126f..0000000 --- a/.gitea/workflows/deploy.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Deploy Vitepress to Gitea Pages - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -permissions: - contents: read - pages: write - id-token: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Build Vitepress site - run: npm run docs:build - - - name: Setup Pages - uses: actions/configure-pages@v2 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: docs/.vitepress/dist - - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - if: github.ref == 'refs/heads/master' - - steps: - - name: Deploy to Gitea Pages - id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file