Skip to content

Commit

Permalink
add gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulyana0505 committed Nov 7, 2023
1 parent 3231464 commit 6049933
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy-gh-pages.yml
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.

0 comments on commit 6049933

Please sign in to comment.