Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sconley-datacoves committed Jun 5, 2024
1 parent e809b60 commit 3a3dc95
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,8 @@ jobs:
run: rm package-lock.json && npm install
- name: Build index
run: node indexer.js output/ output/assets/search-index.js
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
path: ./output
name: github-pages
retention-days: 1
- name: Archive Artifact
run: tar --dereference --hard-dereference --directory ./output -cvf "$RUNNER_TEMP/artifact.tar" .
- name: Push Artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: /home/runner/work/_temp/artifact.tar
retention-days: 1
if-no-files-found: error
compression-level: 6
ovewrite: false

github_token: ${{ secrets.GITHUB_TOKEN }}
public_dir: ./output

0 comments on commit 3a3dc95

Please sign in to comment.