Skip to content

Yet another attempt to source .bashrc from deploy action #7

Yet another attempt to source .bashrc from deploy action

Yet another attempt to source .bashrc from deploy action #7

Workflow file for this run

name: Deploy Site
defaults:
run:
shell: bash -ileo pipefail {0}
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: downey/jekyll-env:latest
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
env:
JEKYLL_ENV: production
S3_ID: ${{ secrets.S3_ID }}
S3_SECRET: ${{ secrets.S3_SECRET }}
BLOG_S3_BUCKET: ${{ secrets.BLOG_S3_BUCKET }}
BLOG_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.BLOG_CLOUDFRONT_DISTRIBUTION_ID }}
PHOTO_S3_BUCKET: ${{ secrets.PHOTO_S3_BUCKET }}
PHOTO_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.PHOTO_CLOUDFRONT_DISTRIBUTION_ID }}
steps:
- uses: actions/checkout@v2
- name: Deploy Blog
run: bundle exec rake deploy:blog
- name: Deploy Photos
run: bundle exec rake deploy:photo