Skip to content

Commit

Permalink
Store and retrieve artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
aaomidi committed Sep 1, 2023
1 parent 19db93a commit b30e2df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@ jobs:
cd docs
xml2rfc --text --html --v3 draft.xml
mv draft.html index.html
- name: Store Output
uses: actions/upload-artifact@v3
with:
name: draft
path: |
docs/index.html
docs/draft.xml
retention-days: 2
6 changes: 6 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Download Built Draft
uses: actions/download-artifact@v3
with:
name: draft
path: docs

- uses: jsmrcaga/[email protected]
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand Down

0 comments on commit b30e2df

Please sign in to comment.