Skip to content

Merge pull request #24 from pythonbnu/dependabot/bundler/nokogiri-1.16.2 #19

Merge pull request #24 from pythonbnu/dependabot/bundler/nokogiri-1.16.2

Merge pull request #24 from pythonbnu/dependabot/bundler/nokogiri-1.16.2 #19

Workflow file for this run

name: deploy
on:
push:
branches:
- jekyll
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAGES_GITHUB_TOKEN }}
ref: jekyll
- name: setup-ruby
uses: ruby/setup-ruby@v1
with:
os: ubuntu-latest
ruby-version: '3.1.2'
bundler-cache: true
- name: jekyll build
run: bundle exec jekyll build
- name: deploy to gh-pages
run: |
cd ./_site
git init
git config user.name grupyblumenau
git config user.email [email protected]
git add . && git commit -m "Deploy github-pages"
git remote add origin https://rtancman:${{ secrets.GH_PAGES_GITHUB_TOKEN }}@github.com/pythonbnu/pythonbnu.github.io.git
git push origin master -f