diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e86d10b..7e4e508 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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