Skip to content

Update jekyll-gh-pages.yml #3

Update jekyll-gh-pages.yml

Update jekyll-gh-pages.yml #3

name: Deploy HTML to GitHub Pages
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Copy HTML file
run: cp java-web-backend/JavaWebBackend/src/main/resources/templates/index.html index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./