Skip to content

Update dependency hexo to v6 [SECURITY] #153

Update dependency hexo to v6 [SECURITY]

Update dependency hexo to v6 [SECURITY] #153

Workflow file for this run

on:
push:
tags:
branches:
- hexo
pull_request:
name: Hexo
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 2
- name: Fetch md source
run: $PWD/bin/build.sh git
- name: SSH settings
if: github.event_name == 'push'
uses: Homebrew/actions/git-ssh@master
with:
git_user: Kang Huaishuai
git_email: [email protected]
key_name: id_rsa
key: ${{ secrets.SSH_KEY }}
- name: Hexo Build
uses: docker://khs1994/hexo
- name: Hexo Deploy
if: github.event_name == 'push'
run: |
docker run -i --rm \
-v $PWD:/srv/hexo-src \
-v ~/.ssh:/root/.ssh \
-e GIT_USERNAME="Kang Huaishuai" \
-e [email protected] \
khs1994/hexo \
deploy