Skip to content

Bump ejs from 3.1.8 to 3.1.10 (#30) #30

Bump ejs from 3.1.8 to 3.1.10 (#30)

Bump ejs from 3.1.8 to 3.1.10 (#30) #30

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