Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
staFF6773 authored Nov 17, 2024
1 parent f445800 commit d3c26da
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ jobs:
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Copy HTML content to root
run: |
# Copy content from src/html to the root directory for GitHub Pages to use
mkdir -p build
cp -r src/html/* build/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload the 'src/html' folder, where your index.html is located
path: 'src/html'
path: 'build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit d3c26da

Please sign in to comment.