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