Skip to content

Commit

Permalink
ci: deploy pages from actions
Browse files Browse the repository at this point in the history
  • Loading branch information
umutcanbolat committed Aug 24, 2021
1 parent 206b205 commit 20cbd94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ jobs:
run: yarn ci:release
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ github.token }}
publish_dir: ./build
allow_empty_commit: true
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"lint": "eslint --ext .js,.jsx src/",
"lint:fix": "eslint --ext .js,.jsx src/ --fix",
"pdf": "node ./scripts/printToPdf.js",
"pages": "gh-pages -d build",
"ci:release": "release-it --ci",
"ci:release:dry": "yarn ci:release --dry-run"
},
Expand Down

0 comments on commit 20cbd94

Please sign in to comment.