Update astro.yml

This commit is contained in:
Henry Hiles 2023-04-24 10:14:55 -04:00 committed by GitHub
parent f08d9262a0
commit 4474ceba7f
Failed to generate hash of commit

View file

@ -62,20 +62,17 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-pnpm-store- ${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v3 uses: actions/configure-pages@v3
- name: Install dependencies - 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 }} working-directory: ${{ env.BUILD_PATH }}
- name: Build with Astro - name: Build with Astro
run: | run: |
${{ steps.detect-package-manager.outputs.runner }} astro build \ pnpx astro build \
--site "${{ steps.pages.outputs.origin }}" \ --site "${{ steps.pages.outputs.origin }}" \
--base "${{ steps.pages.outputs.base_path }}" --base "${{ steps.pages.outputs.base_path }}"
working-directory: ${{ env.BUILD_PATH }} working-directory: ${{ env.BUILD_PATH }}