Skip to content

Commit 4a98d2d

Browse files
committed
Removing validation that just increases time to get live by forcing us to deploy a test version and then wait for the real version to deploy every time too...
1 parent 0d37acb commit 4a98d2d

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/uufsolver.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,9 @@ jobs:
4242
release.zip
4343
!venv/
4444
45-
validate-deploy:
46-
needs: build
47-
runs-on: ubuntu-latest
48-
49-
steps:
50-
- uses: actions/checkout@v2
51-
52-
- name: Unpack and validate virtual environment
53-
run: |
54-
tar -xzf venv.tar.gz
55-
source venv/bin/activate
56-
export PATH=$PATH:/home/.local/bin:/home/site/wwwroot/venv/bin
57-
pip install --upgrade pip
58-
pip install -r requirements.txt
59-
python app.py &
60-
sleep 10 # Give the app some time to start
61-
curl -f http://localhost:50505
62-
pkill -f python # Kill the app after validation
63-
6445
deploy:
6546
runs-on: ubuntu-latest
66-
needs: validate-deploy
47+
needs: build
6748
environment:
6849
name: 'Production'
6950
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

0 commit comments

Comments
 (0)