use cloudflare pages
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
deleted file mode 100644
index 7726b35..0000000
--- a/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# This workflow will build and deploy new versions of DTPS
-
-name: deploy
-
-on:
- push:
- branches: [ main ]
-
-jobs:
- deploy:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: Use Node.js 12.x
- uses: actions/setup-node@v1
- with:
- node-version: '12.x'
- - run: |
- git config user.name github-actions
- git config user.email [email protected]
- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
- - run: npm ci
- - run: npm run deploy --if-present
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
deleted file mode 100644
index e8375cc..0000000
--- a/.github/workflows/dev.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-# This workflow will build and deploy new development versions of DTPS
-
-name: dev
-
-on:
- push:
- branches: [ dev ]
-
-jobs:
- dev:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
-
- - name: Use Node.js 12.x
- uses: actions/setup-node@v1
- with:
- node-version: '12.x'
-
- - name: Configure git
- env:
- SSH_AUTH_SOCK: /tmp/ssh_agent.sock
- run: |
- mkdir -p ~/.ssh
- ssh-keyscan github.com >> ~/.ssh/known_hosts
- ssh-agent -a $SSH_AUTH_SOCK > /dev/null
- ssh-add - <<< "${{ secrets.DTPS_DEV_PRIVATE_KEY }}"
- git config user.name github-actions
- git config user.email [email protected]
-
- - name: Run npm scripts
- env:
- SSH_AUTH_SOCK: /tmp/ssh_agent.sock
- run: |
- npm ci
- npm run dev --if-present