怪奇現象 #57
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: route53 apply | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
apply: | |
name: apply iii | |
env: | |
ACCESS_KEY: ${{ secrets.ACCESS_KEY }} | |
SECRET_KEY: ${{ secrets.SECRET_KEY }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1' | |
- name: bundle install | |
run: bundle install | |
working-directory: aws/route53 | |
- name: apply | |
run: change=`git diff HEAD^..HEAD ../../iii/iii.json`; [ -z "${change}" ] || bundle exec roadwork -a -k ${ACCESS_KEY} -s ${SECRET_KEY} | |
working-directory: aws/route53 |