Commit d6c37fe
authored
refactor: move setup steps into deploy-website action (#539)
# Refactor website deployment workflow
This PR refactors the website deployment workflow by moving the setup steps into the deploy-website action itself. The changes:
1. Add required inputs to the deploy-website action:
- `github-token`
- `atlas-cloud-token`
2. Incorporate setup steps directly in the deploy-website action:
- Call the setup action
- Install the D2 diagramming tool
3. Update workflow files to pass the required tokens to the deploy-website action
This approach simplifies the deployment workflows by encapsulating all necessary setup within the deploy-website action, making it more self-contained and reusable.1 parent 6f94e7b commit d6c37fe
File tree
3 files changed
+18
-7
lines changed- .github
- actions/deploy-website
- workflows
3 files changed
+18
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
40 | 54 | | |
41 | 55 | | |
42 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | 309 | | |
312 | 310 | | |
313 | 311 | | |
| |||
323 | 321 | | |
324 | 322 | | |
325 | 323 | | |
| 324 | + | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
| 30 | + | |
| 31 | + | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
0 commit comments