Skip to content

Commit

Permalink
replace artifact action with the old fashioned way
Browse files Browse the repository at this point in the history
  • Loading branch information
rshewitt committed Apr 24, 2024
1 parent 06fcfff commit f9cc62c
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,18 @@ jobs:
build: npm run build
start: npm run dev
wait-on: "http://localhost:3000"

- name: Upload Build Artifact
uses: actions/upload-artifact@master
with:
name: app-build
path: ./out
deploy:
runs-on: ubuntu-22.04
needs: test
steps:
- name: Download Build Artifact
uses: actions/download-artifact@master
- uses: actions/setup-node@v4
with:
name: app-build
path: .out/
node-version: "20.x"
cache: "npm"
- name: Install dependencies
run: npm i
- name: Build
run: npm run build
- name: Configure AWS
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down

0 comments on commit f9cc62c

Please sign in to comment.