Skip to content

Commit

Permalink
Update GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Mar 20, 2022
1 parent 47f18e9 commit 0d623b4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@ jobs:
JEKYLL_ENV: production
run: |
make _site
zip -r site.zip _site
- name: Upload site
uses: actions/upload-artifact@v3
with:
name: site
path: _site
name: site.zip
path: site.zip
retention-days: 1

deploy:
Expand All @@ -73,11 +74,15 @@ jobs:
name: ${{ needs.set_environment.outputs.my_env }}
url: ${{ needs.set_environment.outputs.my_url }}
steps:

- name: Download site
uses: actions/download-artifact@v3
with:
name: site
path: _site
name: site.zip
path: .

- name: Unzip
run: unzip site.zip

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 0d623b4

Please sign in to comment.