diff --git a/.github/workflows/deploy_pages.yaml b/.github/workflows/deploy_pages.yaml deleted file mode 100644 index 217ae4a..0000000 --- a/.github/workflows/deploy_pages.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Deploy to Github Pages - -# Controls when the workflow 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" ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -jobs: - deploy: - runs-on: ubuntu-latest - permissions: - contents: write - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '20' - - - name: Install dependencies - run: npm install - working-directory: Frontend - - - name: Build - run: npm run build - working-directory: Frontend - - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3.9.3 - if: github.ref == 'refs/heads/main' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: Frontend/dist