Skip to content

Bump rexml from 3.2.5 to 3.2.8 #4

Bump rexml from 3.2.5 to 3.2.8

Bump rexml from 3.2.5 to 3.2.8 #4

Workflow file for this run

on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.12'
cache: 'npm'
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6.2'
bundler-cache: true
- run: npm install
- run: npx gulp prod
- run: bundle exec jekyll build
env:
PROFILE_ID: 76727885
GOOGLE_ACCOUNT_TYPE: service_account
GOOGLE_CLIENT_ID: 93183446580-lm9uc9f5kmhmn0mf1u7845nngoce55h1.apps.googleusercontent.com
GOOGLE_CLIENT_EMAIL: 93183446580-lm9uc9f5kmhmn0mf1u7845nngoce55h1@developer.gserviceaccount.com
GOOGLE_PRIVATE_KEY: ${{ secrets.GOOGLE_PRIVATE_KEY }}
JEKYLL_ENV: production
- name: Upload build artifacts
if: github.event_name == 'push'
uses: actions/upload-artifact@v3
with:
name: site
path: _site/
deploy:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6.2'
bundler-cache: true
- uses: actions/download-artifact@v3
with:
name: site
path: _site/
- name: Deploy release to AWS
run: bundle exec s3_website push
env:
S3_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }}
S3_SECRET_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_CLOUDFRONT_ID: ${{ secrets.AWS_CLOUDFRONT_ID }}