Skip to content
Snippets Groups Projects
Commit 7d844745 authored by ranchodeluxe's avatar ranchodeluxe
Browse files

change branches

parent c87ae626
Branches gc/github_actions
No related tags found
1 merge request!61Additions: primary keys, speed ups (preprocessing and postprocessing), tests, scalene, reorg entire fireatlas
name: data update checker
on:
workflow_dispatch:
schedule:
- cron: '0 */4 * * *'
workflow_dispatch:
jobs:
data_update_checker:
......@@ -11,29 +11,29 @@ jobs:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout repository
- name: checkout repository
uses: actions/checkout@v2
with:
ref: gc/github_actions
ref: primarykeyv2
- name: pip install fireatlas
run: |
pip install .
- name: Get Docker GID and set DOCKER_GID environment variable
- name: get docker GID and set DOCKER_GID environment variable
run: |
echo "DOCKER_GID=$(getent group docker | cut -d: -f3)" >> $GITHUB_ENV
- name: Get current user UID and set UID environment variable
- name: get current user UID and set UID environment variable
run: |
echo "UID=$(id -u)" >> $GITHUB_ENV
- name: Print DOCKER_GID and UID
- name: print DOCKER_GID and UID
run: |
echo "Docker GID: $DOCKER_GID"
echo "User UID: $UID"
- name: kick off the job
- name: kick off the DPS job
run: |
docker run \
--env MAAP_PGT=${{ secrets.MAAP_PGT }} \
......@@ -47,3 +47,5 @@ jobs:
maap-dps-eis-worker-64gb \
ubuntu \
--params '{"regnm": "", "bbox": "[]", "tst": "[]", "ted": "[]", "operation": "--data-update"}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment