Skip to content

Commit

Permalink
Use different action for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
abadi199 authored Jan 30, 2020
1 parent 5bd6d3e commit b75dc21
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
- name: Build
run: npm run build
- name: Publish
uses: maxheld83/[email protected]
with:
secrets: "GH_PAT"
if: success()
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: public
env:
BUILD_DIR: "dist/"
GITHUB_PAT: ${{ secrets.GH_PAT }}

0 comments on commit b75dc21

Please sign in to comment.