Skip to content

Commit

Permalink
instructions for artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Dec 11, 2023
1 parent 444c2be commit 39c4f26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
name: website
path: _site
if-no-files-found: error
if: ${{ github.repository == 'FEniCS/web' && github.ref != 'refs/heads/main' }}
if: ${{ github.repository == 'FEniCS/web' && github.ref != 'refs/heads/main' && github.event_name == 'pull_request' }}
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ If you think something on the website should be change, but you're not sure how
please [open an issue](https://github.com/FEniCS/web/issues) describing the change you
would like to suggest.

When a pull request is opened, the website will be build and an artifact of this build will be uploaded.
To see what the website will look look like after the pull request is merged, you can:

1) Download the artifact

2) unzip the artifact

3) Run `python -m http.server` in the unzipped folder

## Code of conduct

When interacting with others (eg when discussing issues or pull requests), you
Expand Down

0 comments on commit 39c4f26

Please sign in to comment.