Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip webpage artifact upload #272

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/workflows/gh-pages-pr-deploy.yml

This file was deleted.

16 changes: 4 additions & 12 deletions .github/workflows/publish-webpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,6 @@ jobs:
run: |
cp .github/scripts/indexgen/index_redirect/index.html ./public.new/

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public.new

- name: Save PR number
if: github.event_name == 'pull_request'
run: |
Expand All @@ -114,9 +107,8 @@ jobs:
name: pr_number
path: ./pr_number.txt

- name: Pack webpage as an artifact
if: always()
uses: actions/upload-artifact@v3
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
name: webpage
path: ./public.new
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public.new
Loading