We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 073020d commit d85164aCopy full SHA for d85164a
.github/workflows/s3_upload.yml
@@ -1,4 +1,5 @@
1
---
2
+# Upload lab setup script to AWS S3
3
name: S3 File Upload
4
on:
5
push:
@@ -8,12 +9,14 @@ jobs:
8
9
upload:
10
runs-on: ubuntu-latest
11
env:
12
+ # Environment variables to set upload path and target AWS S3 bucket
13
LOCAL_PATH: config/
14
AWS_BUCKET: devasc-netconf
15
steps:
16
- name: Checkout Code
17
uses: actions/checkout@v2
18
19
+ # Setup credentials and parameters for AWS S3 commands
20
- name: Setup s3cmd
21
uses: s3-actions/[email protected]
22
with:
@@ -22,6 +25,7 @@ jobs:
25
access_key: ${{ secrets.S3_ACCESS_KEY }}
23
26
secret_key: ${{ secrets.S3_SECRET_KEY }}
24
27
28
+ # s3cmd syntak to upload the LOCAL_PATH directory to AWS Se
29
- name: Upload Config Folder Contents
30
run: |
31
s3cmd --acl-public --recursive \
0 commit comments