Skip to content

Commit

Permalink
Refactor workflow to use relative path for deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
new-village committed Oct 28, 2024
1 parent 90fc844 commit 824ca67
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Deploy to PyPI using Trusted Publishers
name: Deploy to PyPI

on:
push:
branches:
- main
workflow_run:
workflows: ["Test", "Monthly Update FileID"]
types:
- completed

jobs:
build-and-deploy:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Test

on: [push]
on:
push:
branches:
- main

jobs:
build:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,3 @@ jobs:
- name: Push repository
run: git push

- name: Call deploy workflow
uses: ../.github/workflows/deploy.yaml

0 comments on commit 824ca67

Please sign in to comment.