Skip to content

Fix schedule

Fix schedule #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 hackerspaceblumenau
git config user.email hackerspaceblumenau@gmail.com
git add . && git commit -m "Deploy github-pages"
git remote add origin https://rtancman:${{ secrets.GH_PAGES_GITHUB_TOKEN }}@github.com/HackerspaceBlumenau/blumenau-dev-day.git
git push origin master -f