diff options
Diffstat (limited to '.github/workflows/deploy.yml')
| -rw-r--r-- | .github/workflows/deploy.yml | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 7ec94f5..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: [ deploy ] - pull_request: - branches: [ deploy ] - -concurrency: - group: "pages" - cancel-in-progress: true - -permissions: - contents: read - pages: write - id-token: write - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '18' - cache: 'npm' - cache-dependency-path: 'front-end/package-lock.json' - - - name: Create env file - run: | - echo "VITE_API_BASE_URL=https://flask.csca5028.farzat.xyz/" > front-end/.env - working-directory: ./ - - - name: Install dependencies - run: npm ci - working-directory: ./front-end - - - name: Build - run: npm run build - working-directory: ./front-end - - - name: Setup Pages - uses: actions/configure-pages@v4 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./front-end/dist - - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - - permissions: - pages: write - id-token: write - - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 |
