diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml deleted file mode 100644 index 7300547c..00000000 --- a/.github/workflows/deploy-gh-pages.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Deploy to Github pages -on: - push: - branches: - - "!*" - tags: - - "v*" - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - lfs: true - - - name: install dependencies - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: 'npm' - cache-dependency-path: ./docs/package-lock.json - - run: npm ci - working-directory: 'docs' - - run: npm run build - working-directory: 'docs' - - - name: deploy to github pages - uses: peaceiris/actions-gh-pages@v3 - if: startsWith(github.ref, 'refs/tags/v') - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/build \ No newline at end of file