feat!: remove disqus (#1380) #170
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 site | |
on: | |
workflow_dispatch: | |
inputs: | |
dispatchReason: | |
description: 'Reason of Manual Deploy' | |
required: true | |
default: 'Re-run failed deployment' | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- name: Run npm install | |
run: npm install | |
- name: Run npm test | |
run: npm test | |
- name: Run build | |
run: npm run build:prod | |
- name: Run deploy | |
uses: JamesIves/github-pages-deploy-action@v4.6.8 | |
with: | |
branch: asf-site | |
folder: build-prod | |
clean-exclude: | | |
archive |