Skip to content

Commit

Permalink
Merge branch 'trunk' into add_rails_generators_182017716
Browse files Browse the repository at this point in the history
  • Loading branch information
raghuramg authored Jun 14, 2023
2 parents 34e7fdb + 193d07a commit 6bd1b83
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/docs_and_rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,39 +32,3 @@ jobs:
- name: Run rspec
run: |
bundle exec rspec
docs_deployment:
runs-on: ubuntu-latest
needs:
- rspec
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: nelonoel/branch-name@v1.0.1
- uses: actions/setup-node@v2
with:
node-version: '12'
- name: install hugo
run: sudo snap install hugo --channel=extended
- uses: ruby/setup-ruby@v1
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-event_source-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
restore-keys: |
${{ runner.os }}-event_source-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
- name: Install project gems
run: |
bundle config path vendor/bundle
bundle install
- name: Run yard
run: bundle exec yard && cp -rf ./doc ./hugo/static/
- run: cd hugo && npm install && hugo --minify
- uses: nelonoel/branch-name@v1.0.1
- uses: jakejarvis/s3-sync-action@master
env:
AWS_S3_BUCKET: ${{ secrets.YARD_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.YARD_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.YARD_SECRET_ACCESS_KEY }}
SOURCE_DIR: hugo/public
DEST_DIR: ${{ env.BRANCH_NAME }}

0 comments on commit 6bd1b83

Please sign in to comment.