Skip to content

Add 'application/x-google-protobuf' as a supported content type (#41) #73

Add 'application/x-google-protobuf' as a supported content type (#41)

Add 'application/x-google-protobuf' as a supported content type (#41) #73

name: lint, build and deploy
on:
push:
branches: ['main']
workflow_dispatch:
jobs:
release:
environment: github-pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run build
env:
PROTOMAPS_TOKEN: ${{secrets.PROTOMAPS_TOKEN}}
- name: deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_dir: ./dist