Skip to content

Commit d3398cc

Browse files
committed
update workflow
1 parent 64a7972 commit d3398cc

File tree

1 file changed

+9
-45
lines changed

1 file changed

+9
-45
lines changed

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

Lines changed: 9 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -19,50 +19,14 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
cache-and-install:
22+
build_vue:
2323
runs-on: ubuntu-latest
24-
environment:
25-
name: github-pages
26-
url: ${{ steps.deployment.outputs.page_url }}
24+
name: Build Vue
2725
steps:
28-
- name: Checkout
29-
uses: actions/checkout@v4
30-
31-
- name: Install Node.js
32-
uses: actions/setup-node@v4
33-
with:
34-
node-version: 22
35-
36-
- uses: pnpm/action-setup@v4
37-
name: Install pnpm
38-
with:
39-
version: 9
40-
run_install: false
41-
42-
- name: Get pnpm store directory
43-
shell: bash
44-
run: |
45-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
46-
47-
- uses: actions/cache@v4
48-
name: Setup pnpm cache
49-
with:
50-
path: ${{ env.STORE_PATH }}
51-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
52-
restore-keys: |
53-
${{ runner.os }}-pnpm-store-
54-
55-
- name: Install dependencies
56-
run: pnpm install
57-
- name: Build
58-
run: pnpm run build
59-
- name: Setup Pages
60-
uses: actions/configure-pages@v4
61-
- name: Upload artifact
62-
uses: actions/upload-pages-artifact@v3
63-
with:
64-
# Upload dist folder
65-
path: './dist'
66-
- name: Deploy to GitHub Pages
67-
id: deployment
68-
uses: actions/deploy-pages@v4
26+
- uses: actions/checkout@v2
27+
- id: Build-Vue
28+
uses: xRealNeon/VuePagesAction@1.0.1
29+
with:
30+
username: 'computer-use-agents'
31+
reponame: 'dart-gui'
32+
token: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged

0 commit comments

Comments
 (0)