Skip to content

Commit

Permalink
improving github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelernestog committed Oct 27, 2024
1 parent ed6817c commit dbd2230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup pnpm
uses: pnpm/[email protected]
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

Expand All @@ -37,10 +33,6 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: latest
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
12 changes: 1 addition & 11 deletions .github/workflows/deployJob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup pnpm
uses: pnpm/[email protected]
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
Expand All @@ -36,10 +30,6 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: latest
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
Expand Down

0 comments on commit dbd2230

Please sign in to comment.