Skip to content

Commit

Permalink
specification de la cle dans la connexion
Browse files Browse the repository at this point in the history
  • Loading branch information
Khagou committed Apr 13, 2024
1 parent 9837872 commit c8000a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# name: Pipeline Prod

# on: # Triggers the workflow
# # pull_request: # This workflow will run only for pull requests
# # branches: # This workflow will run only for the main branch
# # # - main
name: Pipeline Prod

on: # Triggers the workflow
# pull_request: # This workflow will run only for pull requests
# branches: # This workflow will run only for the main branch
# - blabla
push:
branches:
- noexist

# permissions:
# pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/raspberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:

- name: Deploy to Raspberry Pi
run: |
ssh ${{ secrets.RASPBERRY_PI_USERNAME }}@${{ secrets.RASPBERRY_PI_HOST }}
ssh ${{ secrets.RASPBERRY_PI_USERNAME }}@${{ secrets.RASPBERRY_PI_HOST }} -i ${{ secrets.RASPBERRY_PI_SSH_KEY }} -o StrictHostKeyChecking=no
sudo docker pull ${{ secrets.DOCKER_HUB_USERNAME }}/${{ vars.DOCKER_FRONT }}:${{ vars.DOCKER_FRONT_VERSION }}
sudo docker pull ${{ secrets.DOCKER_HUB_USERNAME }}/${{ vars.DOCKER_BACK }}:${{ vars.DOCKER_BACK_VERSION }}
docker-compose -f /Documents/docker-compose.yml up -d
Expand Down

0 comments on commit c8000a0

Please sign in to comment.