fix: new speakeasyapi logo #53
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: deploy | |
# Author: @MikeRalphson | |
# Issue : n/a | |
# Desc : This workflow runs a build and deploy to the gh-pages branch for an 11ty project | |
# run this on push to main | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 # checkout repo content | |
- uses: actions/setup-node@v1 # setup Node.js | |
with: | |
node-version: '18.x' | |
# - name: Audit package-lock.json | |
# run: npx package-lock-audit ./package-lock.json | |
- name: Install deps | |
run: npm i | |
- name: Run lint | |
run: npm run lint | |
- name: Run sass | |
run: npm run sass | |
- name: Run build | |
run: npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: _site # The folder the action should deploy. |