An open API service indexing awesome lists of open source software.

https://github.com/eaudeweb/drupal-sql-dump-action

Make an SQL dump of the Drupal database in order to retrieve the latest database
https://github.com/eaudeweb/drupal-sql-dump-action

Last synced: 4 months ago
JSON representation

Make an SQL dump of the Drupal database in order to retrieve the latest database

Awesome Lists containing this project

README

          

# Create an SQL dump in the specified location

This GitHub action creates an SQL dump of the database using `drush` in a specified location. Then you can configure your project to work with [heavy-lifter](https://packagist.org/packages/eaudeweb/heavy-lifter) to retrieve the SQL dump and import in your local Drupal website installation.

## Usage

```yml
steps:

- uses: eaudeweb/drupal-sql-dump-action@1.x
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 }}
sql_dump_file: /var/www/config/www.example.com/sync/database.sql
```