Activa el entorno virtual antes de esportar los datos #122
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| name: Deploy project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Execute remote deploy commands | |
| uses: appleboy/ssh-action@master | |
| with: | |
| host: pythoncanarias.es | |
| username: ${{ secrets.PRODUCTION_SSH_USERNAME }} | |
| key: ${{ secrets.PRODUCTION_SSH_KEY }} | |
| script: cd ~/web && ./deploy.sh | |
| passphrase: ${{ secrets.PASS_PHRASE }} |