diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml new file mode 100644 index 0000000..be6d64b --- /dev/null +++ b/.github/workflows/build_and_deploy.yml @@ -0,0 +1,18 @@ +name: 'Deploy on release tag' + +on: + push: + tags: + - v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?[0-9]? + - v20[0-9][0-9].[0-1]?[1470].[0-9]+ + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + release-on-tag: + uses: balena-os/github-workflows/.github/workflows/build_and_deploy.yml@v0.0.5 + with: + deployTo: "production" + final: "no" + secrets: inherit