Skip to content

Commit

Permalink
Merge pull request katalon-studio-samples#6 from katalon-studio-sampl…
Browse files Browse the repository at this point in the history
…es/TES-1829

[TES-1829] Update github action - Call and push to S3
  • Loading branch information
quidl authored Dec 30, 2022
2 parents 89fecc1 + d634fb0 commit a001d39
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/auto-sync-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Trigger auto sync
on:
workflow_dispatch:
push:
branch:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3

- name: Scan repository for production
uses: katalon-studio-samples/testops-sync-script-repo-action@main
with:
testops-base-url: https://testops.katalon.io
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
token: ${{ secrets.TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/auto-sync-qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Trigger auto sync
on:
workflow_dispatch:
push:
branch:
- qa

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3

- name: Scan repository for QA
uses: katalon-studio-samples/testops-sync-script-repo-action@main
with:
testops-base-url: https://testops.qa.katalon.com
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
token: ${{ secrets.TOKEN }}

- name: Scan repository for staging
uses: katalon-studio-samples/testops-sync-script-repo-action@main
with:
testops-base-url: https://testops.staging.katalon.com
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
token: ${{ secrets.TOKEN }}

0 comments on commit a001d39

Please sign in to comment.