diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 15a0206..ceb2448 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,9 +6,6 @@ on: jobs: deploy: runs-on: ubuntu-latest - environment: - name: Production - url: https://codesupport.dev steps: - uses: actions/checkout@v1 - name: Build source code diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6a6d37..93d253f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,22 +25,3 @@ jobs: run: | npm ci npm run test - preview_deployment: - runs-on: ubuntu-latest - environment: - name: Development - url: ${{ steps.firebase_hosting_deploy.outputs.details_url }} - needs: [lint, build, test] - steps: - - uses: actions/checkout@v3 - - name: Prepare for Deployment - run: | - npm ci - npm run export - - uses: FirebaseExtended/action-hosting-deploy@v0 - id: firebase_hosting_deploy - with: - firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_CODESUPPORT_DEVELOPMENT }}" - repoToken: "${{ secrets.GITHUB_ACTION }}" - expires: 7d - projectId: codesupport-development