Skip to content

Commit

Permalink
Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
thanawan-atc committed Jul 5, 2023
1 parent b226720 commit e0b1ca0
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/pass_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,20 @@ jobs:
run: |
echo "${{ env.FOLDER_PATH }}"
mkdir "upload"
echo "${{ env.FOLDER_PATH }}" >> "upload/output.txt"
echo "${{ env.FOLDER_PATH }}" >> "output.txt"
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
path: "upload/output.txt"
path: "output.txt"
- name: Upload JSON
uses: actions/upload-artifact@v3
with:
path: "automated_actions/output_dict.json"
- name: Upload to Bucket
uses: shallwefootball/s3-upload-action@master
id: S3
uses: hkusu/s3-upload-action@v2
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: "upload"
destination_dir: "upload_test_folder"
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: 'us-west-2'
aws-bucket: ${{ secrets.AWS_BUCKET }}
file-path: 'output.txt'

0 comments on commit e0b1ca0

Please sign in to comment.