Skip to content

Commit

Permalink
perf: ♻️ Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Nov 19, 2023
1 parent 7d239ba commit b30da3c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ permissions:
contents: write

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
build:
runs-on: windows-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -28,12 +27,17 @@ jobs:
run_install: |
args: []
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
deploy:
concurrency: ci-${{ github.ref }}
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Install and Build 🔧
run: |
pnpm install
pnpm build
- name: Deploy 🚀
- name: Deploy pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: docs
Expand Down

0 comments on commit b30da3c

Please sign in to comment.