Skip to content

Merge pull request #59 from asbjornu/dependabot/bundler/rubocop-1.54.1 #93

Merge pull request #59 from asbjornu/dependabot/bundler/rubocop-1.54.1

Merge pull request #59 from asbjornu/dependabot/bundler/rubocop-1.54.1 #93

Workflow file for this run

name: publish
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3
rubygems: 3.4.10
bundler-cache: true
- name: jekyll build
run: bundle exec rake build
- name: upload site
uses: actions/upload-artifact@v3
with:
name: site
path: _site
- name: download git directory deploy
env:
VERSION: 1.1.0
run: |
wget "https://github.com/SwedbankPay/git-directory-deploy/raw/${VERSION}/deploy.sh"
chmod +x deploy.sh
- name: publish
env:
GIT_DEPLOY_DIR: _site
run: ./deploy.sh