Skip to content

Commit

Permalink
test this
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbruv committed Jun 29, 2024
1 parent fa8491c commit b5d838b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 44 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,37 @@ jobs:
with:
name: progress
path: progress.json

website:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout website code
uses: actions/checkout@v4
with:
repository: bfbbdecomp/website
path: website

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: progress
path: ./website

- uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x.x"

- name: Build Website
run: |
cd website
python build.py
- name: Deploy Website
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/dist # The folder the action should deploy.
clean: true
single-commit: true
44 changes: 0 additions & 44 deletions .github/workflows/website.yml

This file was deleted.

0 comments on commit b5d838b

Please sign in to comment.