Deploy master #475
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
name: Deploy master | |
on: | |
schedule: | |
- cron: '30 5 * * 1-5' | |
workflow_dispatch: | |
inputs: | |
skip_tests: | |
description: 'Skip tests before delivery ?' | |
type: boolean | |
default: false | |
required: false | |
jobs: | |
tests: | |
name: Tests | |
if: ${{ inputs.skip_tests == false }} | |
uses: ./.github/workflows/tests.yml | |
with: | |
version: master | |
secrets: inherit | |
deploy-master: | |
needs: tests | |
name: Deploy master | |
if: | | |
always() && | |
(needs.tests.result == 'success' || needs.tests.result == 'skipped') | |
uses: ./.github/workflows/deploy-int.yml | |
with: | |
version: master | |
secrets: inherit |