Update astro.yml
This commit is contained in:
parent
f08d9262a0
commit
4474ceba7f
1 changed files with 3 additions and 6 deletions
9
.github/workflows/astro.yml
vendored
9
.github/workflows/astro.yml
vendored
|
@ -61,21 +61,18 @@ jobs:
|
|||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pnpm-store-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v3
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
||||
run: pnpm install --frozen-lockfile
|
||||
working-directory: ${{ env.BUILD_PATH }}
|
||||
|
||||
- name: Build with Astro
|
||||
run: |
|
||||
${{ steps.detect-package-manager.outputs.runner }} astro build \
|
||||
pnpx astro build \
|
||||
--site "${{ steps.pages.outputs.origin }}" \
|
||||
--base "${{ steps.pages.outputs.base_path }}"
|
||||
working-directory: ${{ env.BUILD_PATH }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue