Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Changes that Deploy the Site (tests to follow) #10

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,34 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1


- name: Debug AWS credentials
run: |
env | grep AWS || true

- name: Run sam build
run: |
sam build


- name: Run sam deploy
run: |
sam deploy --no-confirm-changeset --no-fail-on-empty-changeset






deploy-site:
needs: build-and-deploy-infra
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: AWS S3 Sync Github Action2
uses: sai-sharan/[email protected]
with:
access_key: ${{ secrets.AWS_ACCESS_KEY }}
secret_access_key: ${{ secrets.SECRET_ACCESS_KEY }}
region: 'eu-west-1'
source: 'resume-site'
destination_bucket: 'recreated-website2351'
delete: true

2 changes: 1 addition & 1 deletion resume-site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Anthony Coughlin - QA Manager</title>
<title>Anthony Coughlin - QA Manager - TEST</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;700&display=swap" rel="stylesheet">
</head>
Expand Down
Loading