add setup node and checkout
deploy / deploy (push) Failing after 1m57s Details

This commit is contained in:
DataHearth 2023-04-14 22:20:10 +02:00
parent dc321e8cd5
commit d23b6200f1
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
1 changed files with 9 additions and 2 deletions

View File

@ -26,6 +26,11 @@ jobs:
- name: Check Docker
run: docker version
- name: Set up NodeJS
run: |
apk update
apk add nodejs npm
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
@ -50,8 +55,10 @@ jobs:
run: |
apt update -y
apt install -y jq
curl -sfL https://raw.githubusercontent.com/ducaale/xh/master/install.sh | sh
echo "version=$(xh https://api.github.com/repos/AmruthPillai/Reactive-Resume/releases/latest Accept:application/vnd.github+json X-GitHub-Api-Version:2022-11-28 | jq .tag_name)" >> $GITHUB_ENV
echo "version=$(curl -sfL https://api.github.com/repos/AmruthPillai/Reactive-Resume/releases/latest | jq .tag_name)" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
- name: Build and push latest
uses: docker/build-push-action@v4