From f37730153aefc6a06d1c1cbbc06f2f3499c13672 Mon Sep 17 00:00:00 2001 From: Chris Midgley Date: Sun, 10 Oct 2021 09:15:12 +0100 Subject: [PATCH] dev: only try to push demo, docs and aur on base repo --- .github/workflows/release_nightly.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 618e178d5..654dd9288 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -327,6 +327,7 @@ jobs: git commit --amend -m "Nightly build ${{ needs.create-nightly-release.outputs.date }}" - name: Push web demo + if: github.repository == 'ruffle-rs/ruffle' uses: ad-m/github-push-action@master with: repository: ruffle-rs/demo @@ -360,6 +361,7 @@ jobs: git commit --amend -m "Nightly build ${{ needs.create-nightly-release.outputs.date }}" - name: Push JS docs + if: github.repository == 'ruffle-rs/ruffle' uses: ad-m/github-push-action@master with: repository: ruffle-rs/js-docs @@ -390,6 +392,7 @@ jobs: run: sed -e "s/@VERSION@/${{ steps.current_time_dots.outputs.formattedTime }}/" -i ./PKGBUILD - name: Publish AUR package + if: github.repository == 'ruffle-rs/ruffle' uses: KSXGitHub/github-actions-deploy-aur@v2.2.5 with: pkgname: ruffle-nightly-bin