Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #32

Closed
wants to merge 9 commits into from
Closed

Dev #32

Show file tree
Hide file tree
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
22 changes: 8 additions & 14 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,20 @@ jobs:
# Install docker & docker compose
- name: Install docker
run: |
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
sudo apt install docker-compose
ssh -o StrictHostKeyChecking=no $EC2_USERNAME@$EC2_URL "sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin"
- name: check Docker install
run: |
ssh -o StrictHostKeyChecking=no $EC2_USERNAME@$EC2_URL "docker --version"
- name: Install python3
run: |
sudo apt install python3
ssh -o StrictHostKeyChecking=no $EC2_USERNAME@$EC2_URL "sudo apt install python3"
# Install git and clone repo
- name: Install git
run: |
sudo apt install git
ssh -o StrictHostKeyChecking=no $EC2_USERNAME@$EC2_URL "sudo apt install git"
- name: Set Git Username and Password
run: |
ssh -o StrictHostKeyChecking=no ${{ EC2_USERNAME }}@${{ EC2_URL }} << 'EOF'
git config --global user.name "dst"
git config --global user.password "${{ GIT_PAT }}"
EOF
run: |
ssh -o StrictHostKeyChecking=no $EC2_USERNAME@$EC2_URL "git config --global user.name "dst" && git config --global user.password $GIT_PATH"
- name: Clone repo
run: |
git clone https://github.com/DstMlOpsCrypto/testGha.git



1 change: 1 addition & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mytest
mytest
mytest
Loading