From 56d3c6165cdb54f78f77f6a1fb3411ac0899abdc Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sun, 18 Dec 2022 11:34:07 -0500 Subject: [PATCH] test --- .github/workflows/build-on-commit.yml | 5 ++++- .github/workflows/build-site.yml | 6 ------ .github/workflows/deploy-master.yml | 1 - 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-on-commit.yml b/.github/workflows/build-on-commit.yml index ae4013a..a1821f8 100644 --- a/.github/workflows/build-on-commit.yml +++ b/.github/workflows/build-on-commit.yml @@ -7,4 +7,7 @@ on: jobs: call-build: - uses: ./.github/workflows/build-site.yml + runs-on: ubuntu-latest + needs: build + steps: + - uses: ./.github/workflows/build-site.yml diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index bfb2bc2..f2dcf20 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -31,9 +31,3 @@ jobs: - name: Delete dist gitignore run: sudo rm -f ./public/dist/.gitignore - - - name: Publish site as artifact - uses: actions/upload-artifact@v2 - with: - name: website - path: ./public \ No newline at end of file diff --git a/.github/workflows/deploy-master.yml b/.github/workflows/deploy-master.yml index 430465c..77ea435 100644 --- a/.github/workflows/deploy-master.yml +++ b/.github/workflows/deploy-master.yml @@ -8,7 +8,6 @@ jobs: deploy: runs-on: ubuntu-latest needs: build - if: github.ref == 'refs/heads/master' steps: - name: Build Site uses: ./.github/workflows/common/build-site.yml