Skip to content

Commit

Permalink
update deploy (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhelton authored Nov 21, 2024
1 parent 4e384be commit 64a31db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,19 @@ jobs:
name: Build Docker and Deploy Lambda
runs-on: ubuntu-latest
steps:
- name: get latest release with tag
id: latestrelease
run: |
echo "::set-output name=releasetag::$(curl -s https://api.github.com/repos/dag-hammarskjold-library/dlx-dl/releases/latest | jq '.tag_name' | sed 's/\"//g')"
- name: confirm release tag
run: |
echo ${{ steps.latestrelease.outputs.releasetag }}
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ steps.latestrelease.outputs.releasetag }}

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

0 comments on commit 64a31db

Please sign in to comment.