-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a9900a
commit 47002a3
Showing
1 changed file
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
name: Update Logit Values | ||
# name: Update Logit Values | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 1 * *" | ||
push: | ||
paths: | ||
- "automation/*" | ||
# on: | ||
# workflow_dispatch: | ||
# schedule: | ||
# - cron: "0 0 1 * *" | ||
# push: | ||
# paths: | ||
# - "automation/*" | ||
|
||
concurrency: | ||
# since this runs on an interval this should be fine | ||
# but we want concurrency failures since we're doing commits | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
# concurrency: | ||
# # since this runs on an interval this should be fine | ||
# # but we want concurrency failures since we're doing commits | ||
# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
|
||
jobs: | ||
update-logit: | ||
name: Update Logit Values | ||
runs-on: ubuntu-latest | ||
# jobs: | ||
# update-logit: | ||
# name: Update Logit Values | ||
# runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
- name: Run Docker | ||
run: | | ||
cd automation/ | ||
docker build -t nfc_values . | ||
docker compose up | ||
sudo chown -R $USER:$USER . | ||
# - name: Run Docker | ||
# run: | | ||
# cd automation/ | ||
# docker build -t nfc_values . | ||
# docker compose up | ||
# sudo chown -R $USER:$USER . | ||
|
||
- name: Commit and PR changes | ||
# success() ensures the previous job succeeds | ||
if: ${{ success() }} | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
commit-message: "Autogenerated commit for logit update" | ||
body: | | ||
Update logit with latest data. | ||
branch: update/logit | ||
title: "[Automated] Update logit values" | ||
# - name: Commit and PR changes | ||
# # success() ensures the previous job succeeds | ||
# if: ${{ success() }} | ||
# uses: peter-evans/create-pull-request@v6 | ||
# with: | ||
# commit-message: "Autogenerated commit for logit update" | ||
# body: | | ||
# Update logit with latest data. | ||
# branch: update/logit | ||
# title: "[Automated] Update logit values" |