diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml deleted file mode 100644 index 4c2d91d..0000000 --- a/.github/workflows/acceptance.yml +++ /dev/null @@ -1,12 +0,0 @@ -# acceptance.yml -name: acceptance -on: - pull_request: - branches: - - main -jobs: - trigger: - runs-on: ubuntu-latest - steps: - - name: Display future acceptance tests message - run: echo "There will be acceptance tests in the future." diff --git a/.github/workflows/vercel-pull-request.yml b/.github/workflows/vercel-pull-request.yml index 337d111..5478ee2 100644 --- a/.github/workflows/vercel-pull-request.yml +++ b/.github/workflows/vercel-pull-request.yml @@ -1,11 +1,10 @@ # vercel-pull-request.yml name: Create vercel preview URL on pull request on: - workflow_run: - workflows: - - acceptance - types: - - completed + pull_request_target: + types: [labeled] + branches: + - main jobs: build_and_deploy: runs-on: ubuntu-latest