https://github.com/eaudeweb/drupal-deploy-action
Deploy a drupal release to target server
https://github.com/eaudeweb/drupal-deploy-action
Last synced: 4 months ago
JSON representation
Deploy a drupal release to target server
- Host: GitHub
- URL: https://github.com/eaudeweb/drupal-deploy-action
- Owner: eaudeweb
- License: mit
- Created: 2022-06-06T14:53:42.000Z (about 4 years ago)
- Default Branch: 2.x
- Last Pushed: 2024-08-23T14:44:17.000Z (almost 2 years ago)
- Last Synced: 2024-08-23T16:25:46.796Z (almost 2 years ago)
- Size: 46.9 KB
- Stars: 0
- Watchers: 12
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy a release to the server
## Usage
```yml
steps:
- uses: actions/checkout@v3
- uses: eaudeweb/drupal-install-action@main
- uses: eaudeweb/drupal-artifact-action@main
id: artifact
- uses: eaudeweb/drupal-deploy-action@2.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 }}
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
```