Skip to content

Commit 16a37f3

Browse files
authored
Merge pull request #57 from ArielMAJ/dev
[UPT] Fix GHA autodeploy.
2 parents 8089c1c + fffcdd5 commit 16a37f3

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/auto_deploy.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
16+
- uses: oven-sh/setup-bun@v1
1717
with:
18-
node-version: 19.x
19-
cache: "yarn"
20-
cache-dependency-path: ./vue-front/yarn.lock
21-
18+
bun-version: 1.0.26
2219
- name: setup git auth
2320
run: |
2421
git config --global credential.helper store
@@ -31,7 +28,7 @@ jobs:
3128
- name: deploy to gh-pages
3229
run: |
3330
cd vue-front
34-
yarn
31+
bun install
3532
mkdir tmp
3633
cd tmp
3734
git init
@@ -41,7 +38,7 @@ jobs:
4138
find . -maxdepth 1 -type f ! -name "CNAME" -exec rm -v {} \;
4239
find . -maxdepth 1 -type d ! -name ".git" -exec rm -rv {} \;
4340
cd ..
44-
NODE_ENV=production yarn run build
41+
bun run build
4542
mv dist/* tmp
4643
cd tmp
4744
if [[ ! $(git status --porcelain) ]]; then

0 commit comments

Comments
 (0)