Skip to content

Deploy site

Deploy site #775

Workflow file for this run

name: Build site
on:
push:
branches:
- develop
workflow_run:
workflows: ["Rotate napituti"]
types:
- completed
jobs:
build-site:
env:
JEKYLL_ENV: production
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1
- run: aws s3 sync . s3://napipatrik --delete --exclude ".git/*"
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'master'