diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index 1b5761d..a847727 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -17,7 +17,7 @@ jobs: - name: Setup NodeJs uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 20 - name: Create .env.local file run: echo "BASE_URL=${{ secrets.BASE_URL }}" > .env.local @@ -35,7 +35,7 @@ jobs: with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} + key: ${{ secrets.KEY }} source: "./out/*" target: ${{ secrets.BUILD_PATH }} strip_components: 1 @@ -46,7 +46,7 @@ jobs: with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} + key: ${{ secrets.KEY }} script: | set -e diff --git a/Dockerfile b/Dockerfile index ca6fd65..89a248d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine as build +FROM node:20-alpine as build WORKDIR /app RUN npm install -g pnpm