mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 15:04:11 +02:00
Update daily-csv-upload.yaml
This commit is contained in:
parent
184c17156f
commit
3a43299277
1 changed files with 2 additions and 16 deletions
18
.github/workflows/daily-csv-upload.yaml
vendored
18
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -1,5 +1,5 @@
|
||||||
name: Upload current-full.csv and current-federal.csv
|
name: Upload current-full.csv and current-federal.csv
|
||||||
run-name: Upload current-full.csv and current-federal.csv for branch ${{ github.head_ref }}
|
run-name: Upload current-full.csv and current-federal.csv
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
@ -7,23 +7,9 @@ on:
|
||||||
# Runs every day at 5 AM UTC.
|
# Runs every day at 5 AM UTC.
|
||||||
- cron: "0 5 * * *"
|
- cron: "0 5 * * *"
|
||||||
|
|
||||||
jobs:
|
|
||||||
default:
|
|
||||||
outputs:
|
|
||||||
default: ${{ steps.var.outputs.default}}
|
|
||||||
runs-on: "ubuntu-latest"
|
|
||||||
steps:
|
|
||||||
- name: Setting global variables
|
|
||||||
uses: actions/github-script@v6
|
|
||||||
id: var
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
core.setOutput("default", "CF_REPORT_ENV");
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
needs: [default]
|
|
||||||
env:
|
env:
|
||||||
CF_DEFAULT: $ {{ needs.default.outputs.default }}
|
CF_DEFAULT: CF_REPORT_ENV
|
||||||
outputs:
|
outputs:
|
||||||
environment: ${{ steps.var.outputs.environment}}
|
environment: ${{ steps.var.outputs.environment}}
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue