Skip to content

Commit 2d0bdce

Browse files
CopilotIEvangelist
andcommitted
Clarify cache save behavior in GitHub Actions example
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
1 parent 5ab8d29 commit 2d0bdce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/deployment/deployment-state-caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
138138
```
139139
140-
This workflow caches the _~/.aspire/deployments_ directory, using the AppHost project file hash and branch reference as cache keys. Subsequent workflow runs restore the cached deployment state, allowing automated deployments without re-prompting for configuration values.
140+
This workflow caches the _~/.aspire/deployments_ directory, using the AppHost project file hash and branch reference as cache keys. The `actions/cache` action automatically restores the cache before the deployment step and saves any updates to the cache after the job completes. Subsequent workflow runs restore the cached deployment state, allowing automated deployments without re-prompting for configuration values.
141141

142142
> [!CAUTION]
143143
> When caching deployment state in CI/CD pipelines, ensure that your pipeline has appropriate access controls and secret management practices in place, as the cached state might contain sensitive configuration values.

0 commit comments

Comments
 (0)