File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -68,20 +68,29 @@ jobs:
68
68
runs-on : ubuntu-latest
69
69
if : |
70
70
github.event_name == 'pull_request' &&
71
- github.repository == 'zephyr-projectr -rtos/zephyr-lang-rust'
71
+ github.repository == 'zephyrproject -rtos/zephyr-lang-rust'
72
72
73
73
steps :
74
- # - name: Show github conext
74
+ # - name: Show github context
75
75
# env:
76
76
# GITHUB_CONTEXT: ${{ toJson(github) }}
77
77
# run: |
78
78
# echo "$GITHUB_CONTEXT" | jq .
79
79
80
80
- name : Download documentation artifact
81
- uses : actions/download-artifact@v3
81
+ uses : actions/download-artifact@v4
82
82
with :
83
83
name : rustdocs
84
84
85
- - name : Show our tree
85
+ # - name: Show our tree
86
+ # run: |
87
+ # find . -ls
88
+
89
+ - name : Publish to S3
90
+ env :
91
+ AWS_ACCESS_KEY_ID : ${{ vars.AWS_BUILDS_ZEPHYR_LANG_RUST_PR_ACCESS_KEY_ID }}
92
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_BUILDS_ZEPHYR_LANG_RUST_PR_SECRET_ACCESS_KEY }}
93
+ AWS_REGION : us-east-1
86
94
run : |
87
- find . -ls
95
+ PR_NUM=${{ github.event.number || 'not-a-pr' }}
96
+ aws s3 sync . s3://builds.zephyrproject.org/zephyr-lang-rust/pr/$PR_NUM/
You can’t perform that action at this time.
0 commit comments