Merge pull request #2 from crustio/feat/update-contract-address #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |