Skip to content

add: GitHub actions workflows #1

add: GitHub actions workflows

add: GitHub actions workflows #1

Workflow file for this run

name: Deployment (prod)
on:
workflow_call:
inputs:
service:
required: true
type: string
secrets:
slack_webhook_url:
required: true
jobs:
test:
name: Ants
uses: ./.github/workflows/jobs/test.yml

Check failure on line 16 in .github/workflows/push_main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push_main.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
permissions:
id-token: write
contents: read
build_push:
name: Ants
uses: ./.github/workflows/jobs/build_push.yml
needs: test
permissions:
id-token: write
contents: read
deploy:
name: Ants
uses: ./.github/workflows/jobs/deploy.yml
needs: build_push
permissions:
id-token: write
contents: read
secrets:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}