Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# action-site-install
github action to install drupal site in CI to validate config

# implementation

```yaml
name: Test Install Drupal Site

permissions:
id-token: write
contents: read

on:
pull_request:
branches:
- main
types:
- opened
- synchronize
workflow_dispatch: {}

jobs:
install:
runs-on: ubuntu-latest

steps:
- name: Install Drupal Site
uses: discoverygarden/action-site-install@v1
with:
aws-role: ${{ vars.ECR_PUSH_ROLE }}
aws-region: ${{ vars.ECR_AWS_REGION }}
ssh-key: ${{ secrets.COMPOSER_SSH_KEY }}
composer-auth: ${{ secrets.COMPOSER_AUTH }}
```