-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3231464
commit 6049933
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Deploy to GithubPages | ||
|
||
# on: | ||
# push: | ||
# branches: | ||
# - master | ||
on: pull_request | ||
permissions: | ||
contents: write | ||
jobs: | ||
deploy-to-gh-pages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
# - name: Install Packages | ||
# run: | | ||
# npm install | ||
|
||
# - name: Build | ||
# run: | | ||
# npm run build | ||
- name: Build | ||
run: | | ||
mkdir dist | ||
cp index.html dist/ | ||
- name: Deploy 🚀 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: dist # The folder the action should deploy. |