Skip to content

Bump dompurify from 2.4.0 to 2.5.6 (#38) #36

Bump dompurify from 2.4.0 to 2.5.6 (#38)

Bump dompurify from 2.4.0 to 2.5.6 (#38) #36

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v1
with:
ref: master
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
version: ${{ matrix.node_version }}
- name: Setup hexo
run: |
npm install hexo-cli -g
npm install
hexo clean
hexo generate
- name: Git push
run: |
cd ./public
git init
git config --global user.name "github-actions"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Update Source Code"
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git push --force --quiet origin HEAD:gh-pages