Skip to content

Commit

Permalink
Merge pull request #22 from LeadingEDJE/connect-to-s3
Browse files Browse the repository at this point in the history
connect to s3
  • Loading branch information
kooper-smith-le committed Nov 10, 2023
2 parents 142889b + 1981351 commit e7ab004
Showing 1 changed file with 8 additions and 28 deletions.
36 changes: 8 additions & 28 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,11 @@ jobs:
run: npm run build
- name: Test
run: npm run test:headless
# - name: Archive build
# if: success()
# uses: actions/upload-artifact@v1
# with:
# name: deploy_dist
# path: dist
# - name: Archive code coverage result
# if: success()
# uses: actions/upload-artifact@v1
# with:
# name: deploy_coverage
# path: coverage
# deploy:
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Checkout
# uses: actions/checkout@v1
# - name: Download build
# uses: actions/download-artifact@v1
# with:
# name: deploy_dist
# - name: Deploy to GitHub Pages
# uses: JamesIves/github-pages-deploy-action@releases/v3
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BRANCH: gh-pages
# FOLDER: deploy_dist/angular-demo
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${AWS_ROLE}
aws-region: us-east-2
- name: Copy files to the test website with the AWS CLI
run: |
aws s3 sync . s3://${S3_BUCKET}

0 comments on commit e7ab004

Please sign in to comment.