Skip to content
name: Github Pages Beta Deploy
on:
workflow_dispatch:
push:
branches:
- dev
jobs:
build:
if: github.repository == 'crustio/ethda-home'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install
- name: Build for production
uses: borales/[email protected]
with:
cmd: build
- name: Deploy Gh-Pages 🚀
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY_BETA }}
external_repository: crustio/ethda-home-site-beta
publish_branch: main
publish_dir: ./out
cname: beta.ethda.io