fix code #553
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: Beta Release to Github Pages | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
if: github.repository == 'gtech-world/carbon3-home' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- name: Setup Node v16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: v16.16.0 | |
cache: 'pnpm' | |
- name: Run install | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm export | |
- name: Deploy Gh-Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./out | |
cname: aicp-beta.gtech.world |