Skip to content

Commit

Permalink
fix(ci): publish pages for every commit on main
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jul 3, 2024
1 parent 8da6aa8 commit 4393788
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/export-mastodon-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- name: Setup Pages
uses: actions/configure-pages@v5
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main')
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

- name: Generate Directory Listings
uses: jayanta525/[email protected]
Expand All @@ -75,12 +75,12 @@ jobs:

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main')
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
path: export/

- name: Deploy to GitHub Pages
id: deployment
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main')
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/deploy-pages@v4

0 comments on commit 4393788

Please sign in to comment.