Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Update jekyll.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nowaktz authored Feb 7, 2022
1 parent 8995ac7 commit c460a25
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,19 @@ jobs:
huli/gulp /bin/bash -c "cd /srv/jekyll && gem install -g && npm install && gulp build:full"
- name: Prepare the deployment package
run: |
mkdir _codedeploy
zip -r _codedeploy/dev-opera.zip appspec.yml dest
zip -r dev-opera.zip appspec.yml dest
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Copy the website to the S3 bucket
run: |
aws s3 cp _codedeploy/dev-opera.zip s3://dev-opera/latest/
- name: Create AWS CodeDeploy deployment
uses: sourcetoad/[email protected]
with:
aws_region: us-west-2
s3_bucket: dev-opera
s3_folder: latest
archive: _codedeploy/dev-opera.zip
archive: dev-opera.zip
codedeploy_name: DevOpera
codedeploy_group: MainBackends

0 comments on commit c460a25

Please sign in to comment.