Skip to content

Commit

Permalink
Adjusting pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandroHervis committed Oct 11, 2023
1 parent c4f5427 commit 5bc1f5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
touch .env.
echo SONAR_USER_TOKEN=${{ secrets.SONAR_USER_TOKEN }} >> .env
cat .env
cd db1-projects/sonar-metrics-collector/;
docker container stop sonar-metrics-collector;
docker rm sonar-metrics-collector;
git pull origin main;
touch .env.
echo SONAR_USER_TOKEN=${{ secrets.SONAR_USER_TOKEN }} >> .env
cat .env
docker rmi sonar-metrics-collector;
docker build -t sonar-metrics-collector .;
docker run -d -t -i -p 5100:5100 --net metrics-collector --name sonar-metrics-collector sonar-metrics-collector:latest npm run start:prod

0 comments on commit 5bc1f5b

Please sign in to comment.