add rasmey composer install Github action (#906) #105
This file contains 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: 'Deploy (Dokku) 🚀' | |
on: | |
workflow_dispatch: ~ | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: | |
name: production | |
url: https://jobbsy.dev | |
steps: | |
- name: Cloning repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Push to dokku | |
uses: dokku/github-action@master | |
with: | |
git_remote_url: ssh://${{ secrets.SSH_DOKKU_USER }}@${{ secrets.SSH_DOKKU_IP }}:${{ secrets.SSH_DOKKU_PORT }}/jobbsy | |
ssh_private_key: ${{ secrets.SSH_DOKKU_PRIVATE_KEY }} | |
branch: main |