Skip to content

Merge pull request #2 from crustio/feat/update-contract-address #34

Merge pull request #2 from crustio/feat/update-contract-address

Merge pull request #2 from crustio/feat/update-contract-address #34

name: Github Pages Deploy
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
if: github.repository == 'crustio/ethda-docs'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node v18
uses: actions/setup-node@v1
with:
node-version: v18.18.0
- 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:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: docs.ethda.io