Skip to content

Commit

Permalink
feat: add GitHub Actions workflow for deploying to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sammrai committed Jan 10, 2025
1 parent 5df74c0 commit ca877f7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,20 @@ jobs:
run: |
docker stop sd-forge-container
docker rm sd-forge-container
- uses: actions/upload-pages-artifact@v1
with:
path: pages

deploy:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 5
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- uses: actions/deploy-pages@v1
id: deployment

0 comments on commit ca877f7

Please sign in to comment.