Skip to content

Commit

Permalink
try 146
Browse files Browse the repository at this point in the history
  • Loading branch information
AzizMukhtorjonov committed Jun 23, 2024
1 parent a578aa0 commit eedb827
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,14 @@ jobs:
echo "$SSH_PRIVATE_KEY" > ~/.ssh/keys/cloning/github_key
chmod 600 ~/.ssh/keys/cloning/github_key
echo "IdentityFile ~/.ssh/keys/cloning/github_key" >> ~/.ssh/config
# Clone the repository with submodules
git clone --recurse-submodules -b cicd https://github.com/${{ github.repository }} .
git clone -b cicd https://github.com/${{ github.repository }} .
git submodule update
# Create .env file
echo "${{ secrets.ENVS }}" > .env
cd ci-cd/
git pull
cd ../
# Run deploy script
sh deploy.sh
EOF

0 comments on commit eedb827

Please sign in to comment.