diff --git a/.github/workflows/deploy_test.yml b/.github/workflows/main.yml similarity index 62% rename from .github/workflows/deploy_test.yml rename to .github/workflows/main.yml index ea0828e8..d1a1e3de 100644 --- a/.github/workflows/deploy_test.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Squib deploy and test +name: Squib deploy on: push: @@ -6,30 +6,6 @@ on: - main jobs: - test: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10' - - - name: Install Dependencies - run: pip install -r requirements.txt - - - name: Set DATABASE_URL Environment Variable - run: | - echo "DATABASE_URL=${{ secrets.DATABASE_URL }}" >> $GITHUB_ENV - - - name: Run Tests - env: - SECRET_KEY: ${{ secrets.SECRET_KEY }} - run: python manage.py test - deploy: needs: test # Wait for the 'test' job to complete before starting deployment runs-on: ubuntu-latest