Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tr0njavolta authored Dec 5, 2024
1 parent b6d083b commit 2a8f351
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ jobs:

- name: Install Hugo
run: |
sudo apt-get update
sudo apt-get install -y hugo
HUGO_VERSION=0.92.2
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz
tar -xvf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz
sudo mv hugo /usr/local/bin/
- name: Debug SCSS files
run: ls -R assets/scss/components

- name: Build Hugo site
run: hugo
Expand All @@ -26,5 +31,4 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: your-s3-region
run: |
aws s3 sync public/ s3://madisonmansouri.com/ --delete
run: aws s3 sync public/ s3://madisonmansouri.com/ --delete

0 comments on commit 2a8f351

Please sign in to comment.