Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Nov 5, 2024
1 parent 51a4724 commit f3fba79
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
cwd: ..
runme:
id: 01JBWW23ENADYZXX5KFGME12KR
version: v3
terminalRows: 20
---

Expand All @@ -23,8 +24,8 @@ dagger call --site . \

## Deploy a docs site preview

```sh {"id":"01JBWVFDXVDBBMRQAQA61NN6CB","name":"check","terminalRows":"3"}
echo "Deploying preview into \"${DOCS_GCP_PROJECT_ID}\" in \"${DOCS_GCP_REGION}\" from registry repo \"${DOCS_GCP_ARTIFACTS_REPO}\"."
```sh {"id":"01JBWVFDXVDBBMRQAQA61NN6CB","name":"where","terminalRows":"3"}
echo "Deploying preview into \"${DOCS_GCP_PROJECT_ID}\" in \"${DOCS_GCP_REGION}\" via artifacts repo \"${DOCS_GCP_ARTIFACTS_REPO}\"."
```

This will deploy a preview of the docs site to the cloud.
Expand All @@ -38,7 +39,7 @@ dagger call --site . \
--credentials="env:DOCS_GCP_CREDENTIALS"
```

```sh {"id":"01JBWV44M5ZJCAERKS9E5KP7RS","interactive":"true"}
```sh {"id":"01JBWV44M5ZJCAERKS9E5KP7RS","interactive":"true","terminalRows":"5"}
echo "Opening ${DEPLOY_URL}"
open ${DEPLOY_URL}
```
Expand Down

0 comments on commit f3fba79

Please sign in to comment.