Merge pull request #444 from UN-OCHA/mergeback/stage/1.8.0 #1318
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
name: Workflow | |
on: [push] | |
jobs: | |
workflow: | |
name: Run Workflow | |
runs-on: ubuntu-latest | |
timeout-minutes: 25 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.HPC_ECR_AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.HPC_ECR_AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
- name: Login to Public ECR | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
uses: docker/login-action@v3 | |
with: | |
registry: public.ecr.aws | |
username: ${{ secrets.HPC_ECR_AWS_ACCESS_KEY_ID }} | |
password: ${{ secrets.HPC_ECR_AWS_SECRET_ACCESS_KEY }} | |
env: | |
AWS_REGION: us-east-1 | |
- uses: UN-OCHA/hpc-actions@develop | |
env: | |
CONFIG_FILE: .github/workflow.config.json | |
GITHUB_TOKEN: ${{ secrets.HPC_BOT_TOKEN }} |