Skip to content

Commit d85164a

Browse files
committed
Add comments
1 parent 073020d commit d85164a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/s3_upload.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# Upload lab setup script to AWS S3
23
name: S3 File Upload
34
on:
45
push:
@@ -8,12 +9,14 @@ jobs:
89
upload:
910
runs-on: ubuntu-latest
1011
env:
12+
# Environment variables to set upload path and target AWS S3 bucket
1113
LOCAL_PATH: config/
1214
AWS_BUCKET: devasc-netconf
1315
steps:
1416
- name: Checkout Code
1517
uses: actions/checkout@v2
1618

19+
# Setup credentials and parameters for AWS S3 commands
1720
- name: Setup s3cmd
1821
uses: s3-actions/[email protected]
1922
with:
@@ -22,6 +25,7 @@ jobs:
2225
access_key: ${{ secrets.S3_ACCESS_KEY }}
2326
secret_key: ${{ secrets.S3_SECRET_KEY }}
2427

28+
# s3cmd syntak to upload the LOCAL_PATH directory to AWS Se
2529
- name: Upload Config Folder Contents
2630
run: |
2731
s3cmd --acl-public --recursive \

0 commit comments

Comments
 (0)