Add AI experience #15
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: 'Build and push to S3' | |
# **What it does**: Converts README to docx and pushes to S3. | |
# **Why we have it**: Recruiters want files and not links to Github. | |
# **Who does it impact**: My career. | |
on: [push] | |
permissions: | |
id-token: write # This is required for AWS OIDC | |
contents: read | |
jobs: | |
convert-and-push: | |
runs-on: [self-hosted] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Convert docs | |
run: ./pandoc.sh | |
- name: configure aws credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: arn:aws:iam::444794566584:role/GithubActionsS3Push | |
role-session-name: github-resume-job | |
aws-region: us-west-2 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Install | |
run: npm ci | |
- name: Push files to s3 | |
run: ./push.sh |