Skip to content

Merge pull request #85 from crustio/mimir #84

Merge pull request #85 from crustio/mimir

Merge pull request #85 from crustio/mimir #84

# This is a basic workflow to help you get started with Actions
name: Beta Release to Github Pages
# Controls when the workflow will run
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
if: github.repository == 'decooio/crust-files'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Merge main -> beta
uses: devmasx/[email protected]
with:
type: now
from_branch: main
target_branch: beta
github_token: ${{ secrets.DECOO_PAT }}
- name: Checkout beta branch
uses: actions/checkout@v2
with:
ref: beta
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: "18.19.0"
- name: Run install
run: yarn install
- name: Build
run: yarn export
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: beta-deploy
folder: out
target-folder: docs