Skip to content

Commit

Permalink
First draft of GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
radishmouse committed Jun 10, 2024
1 parent e2a2c72 commit b196074
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/convert-yaml-to-json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: convert-yaml-to-json

on:
[push]
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run python script
run: |
python convert-yaml.py yaml_notifications json_notifications

0 comments on commit b196074

Please sign in to comment.