Browse Source

👷 CI : update workflows (#6007)

pull/6011/head
陈帅 6 years ago
committed by GitHub
parent
commit
34f52ef9f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/GitHub_Pages_Deploy.yml
  2. 2
      .github/workflows/issue-reference.yml

6
.github/workflows/GitHub_Pages_Deploy.yml

@ -2,10 +2,12 @@ name: Deploy to GitHub Pages
on: [push]
jobs:
Deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
if: success() && github.event == 'push' && github.ref == 'master'
steps:
- name: Deploy to GitHub Pages
- name: publish
uses: maxheld83/ghpages@v0.2.1
if: success() && github.event == 'push' && github.ref == 'master'
env:
BUILD_DIR: 'dist/'
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}

2
.github/workflows/issue-reference.yml

@ -1,9 +1,9 @@
name: Add an issue reference
on: [pull_request]
jobs:
reference:
name: reference
runs-on: ubuntu-latest
steps:
- name: Add an issue reference
uses: kentaro-m/add-an-issue-reference-action@v1.0.0

Loading…
Cancel
Save