From a7144e1f62447647483b7a0af6e68d577b8e395d Mon Sep 17 00:00:00 2001 From: Tom - Henry Coursow Date: Sat, 15 Jul 2023 00:37:49 +0200 Subject: [PATCH] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index de4ec22..b47f0a8 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -6,11 +6,11 @@ on: - dev env: - MONGODB_CLUSTER_ADDRESS: 127.0.0.1 + MONGODB_CLUSTER_ADDRESS: coursow-de.bwnpjvo.mongodb.net MONGODB_USERNAME: mongo - MONGODB_PASSWORD: mongo - MONGODB_DB_NAME: mongo - PORT: 3216 + MONGODB_PASSWORD: mongotest + MONGODB_DB_NAME: actions-environment + WEB_PORT: 8080 jobs: test: @@ -39,7 +39,7 @@ jobs: - name: Install dependencies run: npm ci - name: Run server - run: npm start & npx wait-on http://127.0.0.1:$PORT + run: npm start & npx wait-on http://127.0.0.1:$WEB_PORT - name: Run tests run: npm test - name: Output information