Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khairahscorner committed Aug 27, 2023
1 parent 7df8d15 commit efe4f5d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Airah Yusuff - Portfolio
name: Airat Yusuff - Portfolio

on:
push:
Expand All @@ -12,11 +12,11 @@ jobs:
- uses: actions/checkout@v2
- name: Cache modules
uses: actions/cache@v1
id: yarn-cache
id: npm-cache
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-npm-
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand All @@ -28,8 +28,9 @@ jobs:
with:
node-version: 14.x
- name: Install dependencies
run: yarn
run: npm install
- name: Build
run: yarn build
run: npm run build
- name: Deploy
run: aws s3 sync ./build s3://airah-yusuff-portfolio
Ï

0 comments on commit efe4f5d

Please sign in to comment.