We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f852bc commit be99ecfCopy full SHA for be99ecf
.github/workflows/docs-sync.yml
@@ -0,0 +1,31 @@
1
+name: Sync docs to S3
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths:
8
+ - "docs/**"
9
+ - ".github/workflows/docs-sync.yml"
10
+ workflow_dispatch:
11
12
+permissions:
13
+ id-token: write
14
+ contents: read
15
16
+jobs:
17
+ sync-docs:
18
+ runs-on: ubuntu-24.04
19
20
+ steps:
21
+ - name: Checkout repository
22
+ uses: actions/checkout@v6
23
24
+ - name: Configure AWS credentials (OIDC)
25
+ uses: aws-actions/configure-aws-credentials@v6
26
+ with:
27
+ role-to-assume: ${{ secrets.DOCS_SYNC_AWS_ROLE_ARN }}
28
+ aws-region: eu-central-1
29
30
+ - name: Sync docs folder to S3
31
+ run: aws s3 sync ./docs s3://nuclia-docs-aws-global-stage-1/dotnet-sdk
0 commit comments