From 6a5b341e8d94b608ffa2627d35451ad025b8265b Mon Sep 17 00:00:00 2001 From: Guillermo Gonzalez Date: Tue, 20 Aug 2024 12:11:29 +0200 Subject: [PATCH] Update binarycoffee api ci/cd configurations --- .github/workflows/deployment.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 59ee79c..a423570 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -17,16 +17,16 @@ jobs: node-version: [ 16.19.1 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache project node-modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: 'node_modules' key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -46,16 +46,16 @@ jobs: node-version: [ 16.x ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache project node-modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: 'node_modules' key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -79,7 +79,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Create env variables file run: ./create_env_file.sh @@ -107,7 +107,7 @@ jobs: BOT_NOTIFICATION_TOKEN: ${{ secrets.BOT_NOTIFICATION_TOKEN }} - name: Copy project to the hosting - uses: easingthemes/ssh-deploy@v2.1.5 + uses: easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} ARGS: "-rltgoDzvO --delete" @@ -134,7 +134,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Create env variables file run: ./create_env_file.sh @@ -162,7 +162,7 @@ jobs: BOT_NOTIFICATION_TOKEN: ${{ secrets.BOT_NOTIFICATION_TOKEN }} - name: Copy project to the hosting - uses: easingthemes/ssh-deploy@v2.1.5 + uses: easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.PROD__SERVER_SSH_KEY }} ARGS: "-rltgoDzvO --delete"