Browse Source

👷 CI : update workflows

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

12
.github/workflows/GitHub_Pages_Deploy.yml

@ -1,7 +1,9 @@
name: Deploy to GitHub Pages
on: [push]
uses: maxheld83/ghpages@v0.2.1
if: success() && github.event == 'push' && github.ref == 'master'
env:
BUILD_DIR: 'dist/'
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}
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 }}

10
.github/workflows/issue-reference.yml

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

Loading…
Cancel
Save