You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pr...@apache.org on 2020/08/25 02:59:13 UTC
[incubator-nuttx-website] 02/02: Add build step to save the static
generated site for review
This is an automated email from the ASF dual-hosted git repository.
protobits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git
commit 9462e9ee2bcf356dcf5958d35d8e72cb930f9f72
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Mon Aug 24 18:29:21 2020 -0700
Add build step to save the static generated site for review
---
.github/workflows/main.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7db7b38..98eea73 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -42,6 +42,12 @@ jobs:
git config --global user.email $email
./publish.sh
+ - name: Upload artifact of staged site
+ uses: actions/upload-artifact@v2
+ with:
+ name: static-site
+ path: content
+
- name: Publish Site
if: (github.event_name == 'push' || github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch' ) && github.ref == 'refs/heads/master'
run: |