matrix-art

An image gallery for Matrix
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.git
Log | Files | Refs | README | LICENSE

commit 9ac1b39eb6555463a63197feec696dcfbb2aff59
parent 90427c6688e6b5a26b217cecb516e6cac4cb80cd
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 18 Apr 2022 22:07:53 +0200

Fix preview flow

Diffstat:
M.github/workflows/deploy-preview.yml | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml @@ -8,6 +8,7 @@ jobs: runs-on: self-hosted steps: - name: Edit PR Description + if: github.ref != 'refs/heads/main' uses: Beakyn/gha-comment-pull-request@2167a7aee24f9e61ce76a23039f322e49a990409 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -16,14 +17,15 @@ jobs: description-message: | ⌛ Deploy Preview - Build in Progress - name: Checkout 🛎️ + if: github.ref != 'refs/heads/main' uses: actions/checkout@v3 - - name: Install and Build 🔧 + if: github.ref != 'refs/heads/main' run: | npm ci npm run build - - name: Deploy to gh-pages + if: github.ref != 'refs/heads/main' uses: peaceiris/actions-gh-pages@v3 with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} @@ -31,6 +33,7 @@ jobs: cname: preview.art.midnightthoughts.space external_repository: MTRNord/matrix-art-preview - name: Edit PR Description + if: github.ref != 'refs/heads/main' uses: Beakyn/gha-comment-pull-request@2167a7aee24f9e61ce76a23039f322e49a990409 env: BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}