Skip to content

Added ITM badges

Added ITM badges #13

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build
run: npm run predeploy
- name: Deploy github pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/adamhwang/optioncharts.net.git
npx gh-pages -d out -t true -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}