Browse Source

👷 CI : update workflows

pull/6007/head
chenshuai2144 6 years ago
parent
commit
ad6b44c87c
  1. 12
      .github/workflows/GitHub_Pages_Deploy.yml
  2. 8
      .github/workflows/issue-reference.yml

12
.github/workflows/GitHub_Pages_Deploy.yml

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

8
.github/workflows/issue-reference.yml

@ -4,6 +4,8 @@ on: [pull_request]
jobs:
reference:
name: reference
uses: kentaro-m/add-an-issue-reference-action@v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}
steps:
- name: Add an issue reference
uses: kentaro-m/add-an-issue-reference-action@v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}

Loading…
Cancel
Save