Remove wait-for-deploy and added comment

This commit is contained in:
zandercymatics 2023-12-01 10:44:15 -07:00
parent 5ce598e848
commit d4224799d8
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -2,6 +2,7 @@ name: Upload current-full.csv and current-federal.csv
run-name: Upload current-full.csv and current-federal.csv for branch ${{ github.head_ref }}
on:
# pull_request will be removed when merged
pull_request:
workflow_dispatch:
inputs:
@ -42,21 +43,6 @@ jobs:
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : 'ZA';
core.setOutput('environment', environment);
wait-for-deploy:
runs-on: ubuntu-latest
steps:
- name: Wait for deploy to complete
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-deploy
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: "deploy"
ref: ${{ github.event.pull_request.head.sha }}
# the maximum time to wait for the check to complete, in seconds
timeoutSeconds: 600
# the time to wait between checks, in seconds
intervalSeconds: 10
upload-reports:
runs-on: ubuntu-latest
needs: [variables]