We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe7b076 commit fb10b8fCopy full SHA for fb10b8f
.github/workflows/build.yml
@@ -31,10 +31,15 @@ jobs:
31
run: rsync -r ./_site/* [email protected]:/var/www/vhosts/fenicsproject.org/newsite
32
if: ${{ github.repository == 'FEniCS/web' && github.ref == 'refs/heads/main' }}
33
34
+ - name: Make artifact zip
35
+ run: |
36
+ sudo apt-get install -y zip
37
+ zip -q -r _site.zip _site
38
+ if: ${{ github.repository == 'FEniCS/web' && github.ref != 'refs/heads/main' && github.event_name == 'pull_request' }}
39
- name: Upload build as artifact
40
uses: actions/upload-artifact@v3
41
with:
42
name: website
- path: _site
43
+ path: _site.zip
44
if-no-files-found: error
45
if: ${{ github.repository == 'FEniCS/web' && github.ref != 'refs/heads/main' && github.event_name == 'pull_request' }}
0 commit comments