refactor actions and add build, deploy workdlow #1
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
# This CI/CD workflow will test, build a container and deploy the app to Heroku. | ||
name: "CI/CD Workflow" | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
jobs: | ||
codeql: | ||
name: codeql | ||
uses: ./.github/workflows/codeql.yml | ||
Check failure on line 14 in .github/workflows/main-workflow.yml GitHub Actions / .github/workflows/main-workflow.ymlInvalid workflow file
|
||
tests: | ||
name: tests | ||
uses: ./.github/workflows/test.yml | ||
deploy: | ||
name: build and deploy | ||
needs: [ tests, codeql ] | ||
uses: ./.github/workflows/build-deploy.yml |