Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

GitHub-to-AWS keyless authentication #152

GitHub-to-AWS keyless authentication

GitHub-to-AWS keyless authentication #152

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-5"
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: arn:aws:iam::576485064911:role/github_actions_role
aws-region: eu-west-2
- name: Run Makefile
run: (cd ${{ github.action_path }} && make deploy)
shell: bash