You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- run: test 'test for expected output' = "$(curl --silent https://my-ddev-project.ddev.site)"
38
+
39
+
# use different PHP version in a test matrix
40
+
- run: |
41
+
sed -i -e 's/^php_version:.*/php_version: ${{ matrix.php-version }}/g' .ddev/config.yaml \
42
+
&& ddev start
27
43
```
28
44
29
45
### Options
30
46
31
47
#### ddevDir
32
48
33
-
Path to your DDEV project.
49
+
Path to your DDEV project. This path needs to contain the `.ddev/` directory.
34
50
35
51
default: `.`(root directory)
36
52
37
53
```yaml
38
-
- uses: ddev/github-action-setup-ddev@v1
54
+
- name: Setup DDEV
55
+
uses: ddev/github-action-setup-ddev@v1
39
56
with:
40
57
ddevDir: ".devbox"
41
-
# run `ddev` project commands from that directory
42
-
-run: ddev composer install
58
+
- name: 'You need to switch to that directory to use the `ddev` command'
59
+
run: ddev composer install
43
60
working-directory: .devbox
44
61
```
45
62
@@ -71,17 +88,20 @@ default: `latest`
71
88
72
89
### SSH keys
73
90
74
-
If your workflow needs to reach remote destinations that require private SSH keys, here is a snippet showing how you might add SSH keys that you have entered as GitHub "secrets":
91
+
If your workflow needs to reach remote destinations that require private SSH keys,
92
+
we recommend adding SSH keys that you have entered as [GitHub "secrets"](https://docs.github.com/en/actions/security-guides/encrypted-secrets):
0 commit comments