Skip to content

Commit 0ec7c2c

Browse files
authored
Add step to get public IP in deploy workflow
Signed-off-by: Rob Winch <[email protected]>
1 parent 37748c7 commit 0ec7c2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- name: Set up JDK 17
4040
uses: spring-io/spring-gradle-build-action@v2
41+
- name: Get IP
42+
run: curl https://api.ipify.org
4143
- name: Deploy Docs
4244
run: ./gradlew deployDocs -PdeployDocsSshKey="$DOCS_SSH_KEY" -PdeployDocsSshUsername="$DOCS_USERNAME" -PdeployDocsHost="$DOCS_HOST" --stacktrace
4345
- id: docs-deployed

0 commit comments

Comments
 (0)