Skip to content

Merge pull request #2 from viarotel-org/release-please--branches--mai… #6

Merge pull request #2 from viarotel-org/release-please--branches--mai…

Merge pull request #2 from viarotel-org/release-please--branches--mai… #6

Workflow file for this run

name: release-pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Install pnpm 📥
uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
args: []
- name: Install and Build 🔧
run: |
pnpm install
pnpm build
- name: Upload Artifacts 🔺
uses: actions/upload-artifact@v1
with:
name: dist
path: dist
deploy:
concurrency: ci-${{ github.ref }}
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Download Artifacts 🔻
uses: actions/download-artifact@v1
with:
name: dist
- name: Deploy pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: docs
folder: dist