Skip to content

Commit c8d63d2

Browse files
Revert "fix: deploy"
This reverts commit cb920e2.
1 parent cb920e2 commit c8d63d2

1 file changed

Lines changed: 6 additions & 30 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,41 +16,17 @@ permissions:
1616

1717
jobs:
1818
build:
19-
name: Code standards & build
2019
runs-on: ubuntu-latest
21-
timeout-minutes: 3
22-
23-
strategy:
24-
matrix:
25-
node-version: [20]
26-
2720
steps:
28-
- name: "☁️ Checkout repository"
21+
- name: Checkout your repository using git
2922
uses: actions/checkout@v4
30-
31-
- name: "📦 Install pnpm"
32-
uses: pnpm/action-setup@v4
33-
with:
34-
version: 10.11.1
35-
36-
- name: Use Node.js ${{ matrix.node-version }}
37-
uses: actions/setup-node@v4
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v3
3825
with:
39-
node-version: ${{ matrix.node-version }}
40-
cache: "pnpm"
41-
42-
- name: "📦 Install dependencies"
43-
run: pnpm install
44-
45-
- name: "🔎 Lint code"
46-
run: pnpm run lint
47-
48-
- name: "📝 Checking code format"
49-
run: pnpm run format:check
26+
path: . # The root location of your Astro project inside the repository. (optional)
27+
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
28+
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
5029

51-
- name: "🚀 Build the project"
52-
run: pnpm run build
53-
5430
deploy:
5531
needs: build
5632
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)