Skip to content

Commit 8f7655f

Browse files
committed
CI: fix 2
fix 2 Signed-off-by: David Brown <[email protected]>
1 parent 68c5627 commit 8f7655f

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/docs.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,29 @@ jobs:
6868
runs-on: ubuntu-latest
6969
if: |
7070
github.event_name == 'pull_request' &&
71-
github.repository == 'zephyr-projectr-rtos/zephyr-lang-rust'
71+
github.repository == 'zephyrproject-rtos/zephyr-lang-rust'
7272
7373
steps:
74-
# - name: Show github conext
74+
# - name: Show github context
7575
# env:
7676
# GITHUB_CONTEXT: ${{ toJson(github) }}
7777
# run: |
7878
# echo "$GITHUB_CONTEXT" | jq .
7979

8080
- name: Download documentation artifact
81-
uses: actions/download-artifact@v3
81+
uses: actions/download-artifact@v4
8282
with:
8383
name: rustdocs
8484

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
8694
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/

0 commit comments

Comments
 (0)