Merge branch 'main' of https://github.com/maester365/maester #4
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
# Updates the maester-tests repository with the latest tests | |
# | |
name: Publish Maester Tests | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["main"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Publish to maester-tests | |
id: push_directory | |
uses: cpina/github-action-push-to-another-repository@target-branch | |
env: | |
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | |
with: | |
source-directory: ./tests | |
target-directory: ./tests | |
destination-github-username: "maester365" | |
destination-repository-name: "maester-tests" | |
user-email: [email protected] | |
commit-message: See ORIGIN_COMMIT from $GITHUB_REF | |
target-branch: main |