From 65adc8f72ff07db9a714b1ba945c23d99513c488 Mon Sep 17 00:00:00 2001 From: Kevin Chappell Date: Wed, 20 Sep 2023 21:59:49 -0700 Subject: [PATCH] refactor: changes from review --- .github/workflows/deploy-site.yaml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-site.yaml b/.github/workflows/deploy-site.yaml index e0c71d545..c08408260 100644 --- a/.github/workflows/deploy-site.yaml +++ b/.github/workflows/deploy-site.yaml @@ -1,9 +1,9 @@ name: Deploy Website on: - release: - types: - - published + push: + branches: + - deploy env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -14,13 +14,9 @@ jobs: runs-on: ubuntu-latest permissions: contents: write - issues: write - pull-requests: write - id-token: write - packages: write steps: - name: Checkout formBuilder - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: kevinchappell/formBuilder fetch-depth: 1 @@ -34,7 +30,7 @@ jobs: echo "::set-output name=version::$VERSION" - name: Checkout formBuilder-site - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: kevinchappell/formBuilder-site path: formBuilder-site