Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
test:
name: Test Stage
runs-on: [self-hosted, linux, x64, moipone-pipeline]
needs: build

steps:
- uses: actions/checkout@v6
Expand All @@ -54,8 +53,6 @@ jobs:

env:
ASPNETCORE_ENVIRONMENT: Production
App__S3Prefix: ${{ secrets.APP__S3PREFIX }}
App__CorsOrigins: ${{ secrets.APP__CORSORIGINS }}
ConnectionStrings__Default: ${{ secrets.CONNECTIONSTRINGS__DEFAULT }}

steps:
Expand Down Expand Up @@ -91,7 +88,7 @@ jobs:
docker push ${{ secrets.DOCKERHUB_USERNAME }}/moiponeps:latest

deploy:
name: Deploy DLL to EC2
name: Deploy DLL
runs-on: [self-hosted, linux, x64, moipone-pipeline]
needs: [build, test, db_update, upload_image]
if: github.ref == 'refs/heads/main'
Expand All @@ -115,4 +112,4 @@ jobs:

- name: Smoke test
run: |
curl -I http://127.0.0.1:8080 || true
curl -I http://0.0.0.0:8080 || true
Comment thread
blebelo marked this conversation as resolved.
Loading