From e5b86e9b9d83a2babb77cd695df8de005d0061ef Mon Sep 17 00:00:00 2001 From: DerTyp7 Date: Mon, 9 Oct 2023 15:26:58 +0200 Subject: [PATCH] remove workflow --- .github/workflows/deploy-to-gh-pages.yml | 37 ------------------------ 1 file changed, 37 deletions(-) delete mode 100644 .github/workflows/deploy-to-gh-pages.yml diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml deleted file mode 100644 index 207d3d8..0000000 --- a/.github/workflows/deploy-to-gh-pages.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Deploy React Application - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the main branch - push: - branches: [ main ] - pull_request: - branches: [ main ] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - build_test: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x] # We will deploy with only one version of node - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - name: npm ci, build and test - run: | - npm ci - npm run build - - name: deploy to gh-pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist \ No newline at end of file