Skip to content

Commit 40636df

Browse files
authored
ASUP-340
1 parent f739d81 commit 40636df

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,14 @@ jobs:
4141
run: |
4242
task build
4343
44-
- name: Deploy to GitHub Pages
45-
if: github.ref == 'refs/heads/main'
46-
uses: peaceiris/actions-gh-pages@v3
44+
- name: Create documentation archive
45+
run: |
46+
tar -czvf csdocs.tar.gz -C site .
47+
48+
- name: Upload documentation as artifact
49+
uses: actions/upload-artifact@v3
4750
with:
48-
github_token: ${{ secrets.GITHUB_TOKEN }}
49-
publish_dir: ./site
51+
name: CSDocs
52+
path: ./csdocs.tar.gz
53+
retention-days: 14
54+
if-no-files-found: error

0 commit comments

Comments
 (0)