Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed ci
  • Loading branch information
moritzzimmer committed Feb 1, 2024
commit c848276bd897645cc616f7f943219e114f290652
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '18'

Expand All @@ -44,7 +44,7 @@ jobs:
- name: install
run: make npm/test
- name: build
run: make build
run: make FUNC=image-handler build

- name: configure aws credentials
# 📌 Runs only if:
Expand All @@ -62,7 +62,7 @@ jobs:
# 1. is a 'push to main'
# 2. did not run in a fork
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'stroeer' }}
run: make upload
run: make FUNC=image-handler upload

thumbnail-generator:
env:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- name: install cargo lambda
run: pip3 install cargo-lambda
- name: cargo lambda build
run: make build SERVICE=thumbs
run: make build FUNC=thumbs

- name: configure aws credentials
# 📌 Runs only if:
Expand All @@ -111,4 +111,4 @@ jobs:
# 1. is a 'push to main'
# 2. did not run in a fork
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'stroeer' }}
run: make upload SERVICE=thumbs
run: make upload FUNC=thumbs