Skip to content

Restart dev containers #2

Restart dev containers

Restart dev containers #2

name: Restart dev containers
on:
workflow_dispatch:
jobs:
restart-dev:
name: restart dev containers
runs-on: ubuntu-latest
environment: qa
permissions:
id-token: read

Check failure on line 12 in .github/workflows/restart_dev_containers.yml

View workflow run for this annotation

GitHub Actions / Restart dev containers

Invalid workflow file

The workflow is not valid. .github/workflows/restart_dev_containers.yml (Line: 12, Col: 17): Unexpected value 'read'
strategy:
matrix:
container: ["ckan", "ckanCron"]
steps:
- name: configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4.0.1
with:
role-to-assume: ${{ secrets.AWS_DEV_DEPLOY_ROLE }}
role-session-name: github-actions
aws-region: eu-north-1
- name: Restart containers
run: |
aws ecs update-service --cluster ${{ secrets.cluster }} --service ${{ matrix.container }} --force-new-deployment