Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.3 KB

README.md

File metadata and controls

33 lines (28 loc) · 1.3 KB

Deploy a release to the server

Usage

steps:
  - uses: actions/checkout@v3

  - uses: eaudeweb/drupal-install-action@main

  - uses: eaudeweb/drupal-artifact-action@main
    id: artifact

  - uses: eaudeweb/[email protected]
    with:
      ssh_user:             ${{ secrets.TEST_SSH_USER }}
      ssh_host:             ${{ secrets.TEST_SSH_HOST }}
      ssh_key:              ${{ secrets.TEST_SSH_KEY }}
      ssh_user_jumphost:    ${{ secrets.TEST_SSH_USER_JUMPHOST }}
      ssh_host_jumphost:    ${{ secrets.TEST_SSH_HOST_JUMPHOST }}
      release_id:           ${{ steps.artifact.outputs.base }}
      release_filename:     ${{ steps.artifact.outputs.filename }}
      project_dir:          /var/www/html/www.example.com
      artifacts_dir:        /var/www/artifacts/www.example.com
      settings_file:        /var/www/config/www.example.com/settings.local.php
      env_file:             /var/www/config/www.example.com/.env
      robo_file:            /var/www/config/www.example.com/robo.yml
      local_services_file:  /var/www/config/www.example.com/local.services.yml
      public_files_dir:     /var/www/config/www.example.com/files
      private_files_dir:    /var/www/config/www.example.com/private
      database_dump_dir:    /var/www/config/www.example.com/sync
      artifacts_lifespan:   30