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

Commit c460a25

Browse files
authored
Update jekyll.yml
1 parent 8995ac7 commit c460a25

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/jekyll.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,19 @@ jobs:
2121
huli/gulp /bin/bash -c "cd /srv/jekyll && gem install -g && npm install && gulp build:full"
2222
- name: Prepare the deployment package
2323
run: |
24-
mkdir _codedeploy
25-
zip -r _codedeploy/dev-opera.zip appspec.yml dest
24+
zip -r dev-opera.zip appspec.yml dest
2625
- name: Configure AWS Credentials
2726
uses: aws-actions/configure-aws-credentials@v1
2827
with:
2928
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
3029
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3130
aws-region: us-west-2
32-
- name: Copy the website to the S3 bucket
33-
run: |
34-
aws s3 cp _codedeploy/dev-opera.zip s3://dev-opera/latest/
3531
- name: Create AWS CodeDeploy deployment
3632
uses: sourcetoad/aws-codedeploy-action@v1.3.0
3733
with:
3834
aws_region: us-west-2
3935
s3_bucket: dev-opera
4036
s3_folder: latest
41-
archive: _codedeploy/dev-opera.zip
37+
archive: dev-opera.zip
4238
codedeploy_name: DevOpera
4339
codedeploy_group: MainBackends

0 commit comments

Comments
 (0)