Delete blog / update logo link. #38
This file contains hidden or 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: Build and deploy Plasmic app | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
repository_dispatch: | |
types: [plasmic] | |
permissions: | |
contents: write | |
jobs: | |
job: | |
name: Build and deploy | |
runs-on: ubuntu-latest | |
steps: | |
- id: checkout | |
name: Check out repository | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://registry.npmjs.org' | |
cache: 'yarn' | |
- run: yarn install | |
- id: build | |
name: Build Plasmic app | |
run: yarn build | |
- id: post-build | |
name: Post-build | |
run: yarn post-build | |
- id: gh-pages | |
name: Publish to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./public |