From dbd223004fd93b202143a225f022f2b1094a7f89 Mon Sep 17 00:00:00 2001 From: Manuel Ernesto Garcia Date: Sun, 27 Oct 2024 11:46:10 -0400 Subject: [PATCH] improving github actions --- .github/workflows/deploy.yml | 10 +--------- .github/workflows/deployJob.yml | 12 +----------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6d35ca7..72cdec9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,14 +19,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Setup pnpm - uses: pnpm/action-setup@v4.0.0 - with: - version: latest - name: Checkout your repository using git uses: actions/checkout@v2 - name: Install, build, and upload your site - uses: withastro/action@v0 + uses: withastro/action@v2 with: node-version: 18 @@ -37,10 +33,6 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - name: Setup pnpm - uses: pnpm/action-setup@v4.0.0 - with: - version: latest - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1 \ No newline at end of file diff --git a/.github/workflows/deployJob.yml b/.github/workflows/deployJob.yml index 3f3a388..20d5672 100644 --- a/.github/workflows/deployJob.yml +++ b/.github/workflows/deployJob.yml @@ -18,16 +18,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Setup pnpm - uses: pnpm/action-setup@v4.0.0 - with: - version: latest - name: Checkout your repository using git uses: actions/checkout@v2 - name: Install, build, and upload your site - uses: withastro/action@v0 - with: - node-version: 18 + uses: withastro/action@v2 deploy: needs: build @@ -36,10 +30,6 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - name: Setup pnpm - uses: pnpm/action-setup@v4.0.0 - with: - version: latest - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1