diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml deleted file mode 100644 index bc29e0f2..00000000 --- a/.github/workflows/website-deploy.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Website Deploy - -on: - push: - branches: - - main - -jobs: - website-deploy: - name: Website Deploy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: 16.x - cache: yarn - cache-dependency-path: ./docs/yarn.lock - - - name: Install dependencies - run: yarn install --frozen-lockfile - working-directory: ./docs - - - name: Build website - run: yarn build - working-directory: ./docs - env: - CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} - - - name: Website Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GH_PAT }} - publish_dir: ./docs/build - user_name: task-bot - user_email: 106601941+task-bot@users.noreply.github.com diff --git a/.github/workflows/website-test.yml b/.github/workflows/website-test.yml deleted file mode 100644 index 4d785cdd..00000000 --- a/.github/workflows/website-test.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Website Test - -on: - pull_request: - branches: - - main - -jobs: - website-test: - name: Website Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: 16.x - cache: yarn - cache-dependency-path: ./docs/yarn.lock - - - name: Install dependencies - run: yarn install --frozen-lockfile - working-directory: ./docs - - - name: Test build website - run: yarn build - working-directory: ./docs - env: - CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}