Skip to content

Merge pull request #74 from crustio/yang/add-ipfs-endpoints #60

Merge pull request #74 from crustio/yang/add-ipfs-endpoints

Merge pull request #74 from crustio/yang/add-ipfs-endpoints #60

name: Staging Release to Github Pages
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
if: github.repository == 'decooio/crust-files'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: "14.17.3"
- name: Run install
run: yarn install
- name: Build
run: yarn export
- name: Deploy 🚀
uses: hpcodecraft/[email protected]
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.DECOO_PAT }}
SRC_FOLDER: out
DEST_OWNER: decooio
DEST_REPO: crust-files-staging
DEST_BRANCH: main
DEST_FOLDER: docs