Skip to content

GitHub-to-AWS keyless authentication #157

GitHub-to-AWS keyless authentication

GitHub-to-AWS keyless authentication #157

Workflow file for this run

---
name: Trigger action for GOV.UK_co-cyber-security-external
on:
pull_request:
workflow_dispatch:
push:
branches:
- 'main'
schedule:
- cron: "0 2 * * 1"
jobs:
deploy-to-co-cyber-security-external:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Set up AWS creds
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.ROLE_TO_ASSUME_ARN }}
aws-region: eu-west-2
- name: Run Makefile
run: bash deploy.sh
shell: bash