Skip to content

Merge pull request #43 from np-complete/dependabot/bundler/rexml-3.3.2 #19

Merge pull request #43 from np-complete/dependabot/bundler/rexml-3.3.2

Merge pull request #43 from np-complete/dependabot/bundler/rexml-3.3.2 #19

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: masarakki/docker-alias@v3
with:
image: vvakame/review:5.2
commands: review-pdfmaker
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: rm `bundle exec which review-pdfmaker`
- run: bundle exec rake pdf
env:
REVIEW_CONFIG_FILE: config.ebook.yml
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.BOOK_DEPLOY_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.BOOK_DEPLOY_SECRET_KEY }}
aws-region: us-west-2
- run: aws s3 cp book.pdf s3://np-complete-books/pdf/TechBookFes01.pdf --acl public-read