Skip to content

Commit 78209bb

Browse files
committed
use bin/bash instead of usr/bin/env bash
1 parent 1ea5d01 commit 78209bb

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,10 @@ jobs:
1818
with:
1919
fetch-depth: 10_000
2020

21-
- name: Get Node Version
22-
id: node-version
23-
run: |
24-
echo "node-version=$(cat .node-version)" >> $GITHUB_OUTPUT
25-
2621
- name: Setup Node.js
27-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v6
2823
with:
29-
node-version: ${{ steps.node-version.outputs.node-version }}
24+
node-version-file: .node-version
3025

3126
- name: Install Dependencies
3227
run: npm ci
@@ -68,10 +63,6 @@ jobs:
6863
name: ci-scripts
6964
path: ./script/ci
7065

71-
- name: Debug
72-
run: |
73-
ls -R1 .
74-
7566
- name: Deploy via FTP
7667
env:
7768
FTP_HOST: ${{ secrets.FTP_HOST }}

script/ci/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22

33
set -exuo pipefail
44

0 commit comments

Comments
 (0)