File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -9,23 +9,22 @@ on: # yamllint disable-line rule:truthy
99jobs :
1010 build_latex :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ id-token : write
1214 steps :
13-
1415 - name : Checkout repo
1516 uses : actions/checkout@v4
1617
18+ - name : Configure AWS credentials
19+ uses : aws-actions/configure-aws-credentials@v4
20+ with :
21+ role-to-assume : arn:aws:iam::800820568312:role/github-actions-gboeing-cv
22+ aws-region : us-west-2
23+
1724 - name : Build PDF
1825 uses : xu-cheng/latex-action@v3
1926 with :
2027 root_file : cv-gboeing.tex
2128
22- - name : Publish PDF
23- uses : appleboy/scp-action@v0.1.7
24- with :
25- host : ${{ secrets.SSH_HOST }}
26- username : ${{ secrets.SSH_USERNAME }}
27- key : ${{ secrets.SSH_KEY }}
28- passphrase : ${{ secrets.SSH_KEY_PASSPHRASE }}
29- source : cv-gboeing.pdf
30- target : ~/public_html/share
31- use_insecure_cipher : true
29+ - name : Upload PDF to s3
30+ run : aws s3 cp ./cv-gboeing.pdf s3://cv-gboeing/
Original file line number Diff line number Diff line change 3030 - --strict
3131 - >
3232 -d={extends: default, rules: {
33+ line-length: {max: 90},
3334 quoted-strings: {quote-type: single,
3435 required: only-when-needed}}}
3536
You can’t perform that action at this time.
0 commit comments