Skip to content

Commit cf9d1da

Browse files
authored
Merge pull request #2 from discoverygarden/adamcbowman-patch-1
Update README.md
2 parents 308d8e4 + 926d098 commit cf9d1da

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
11
# action-site-install
22
github action to install drupal site in CI to validate config
3+
4+
# implementation
5+
6+
```yaml
7+
name: Test Install Drupal Site
8+
9+
permissions:
10+
id-token: write
11+
contents: read
12+
13+
on:
14+
pull_request:
15+
branches:
16+
- main
17+
types:
18+
- opened
19+
- synchronize
20+
workflow_dispatch: {}
21+
22+
jobs:
23+
install:
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- name: Install Drupal Site
28+
uses: discoverygarden/action-site-install@v1
29+
with:
30+
aws-role: ${{ vars.ECR_PUSH_ROLE }}
31+
aws-region: ${{ vars.ECR_AWS_REGION }}
32+
ssh-key: ${{ secrets.COMPOSER_SSH_KEY }}
33+
composer-auth: ${{ secrets.COMPOSER_AUTH }}
34+
```

0 commit comments

Comments
 (0)