Skip to content

Commit

Permalink
ci: testing scheduled run
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettjay committed Oct 16, 2023
1 parent 6ceff58 commit b2f6b52
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/scheduled-test-as-step.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Test as a step"
on:
push:
branches:
- staging
schedule:
- cron: '0 16 16 10 *'
jobs:
test-as-step:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Start Standard Change
uses: ./
id: start-standard-change
with:
client-key: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_KEY }}
client-secret: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_SECRET }}
template-id: ${{ secrets.TEST_TEMPLATE_ID }}
- name: Deploy
id: deploy
run: exit 0
- name: Test Outputs
if: always() && steps.start-standard-change.outcome == 'success'
run: echo Check env
env:
client-key: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_KEY }}
client-secret: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_SECRET }}
change-sys-id: ${{ steps.start-standard-change.outputs.change-sys-id }}
work-start: ${{ steps.start-standard-change.outputs.work-start }}
success: ${{ job.status == 'success' }}

0 comments on commit b2f6b52

Please sign in to comment.