I have a blog deployed on Github Pages. I use Jekyll Github Action and everything worked fine until my last deployment some 3 months ago. I created a new entry and now I get an error: "Cannot publish on branch master".
This is my Workflow:
name: Deploy
on:
push:
branches: master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: helaili/jekyll-action@2.0.1
env:
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}
JEKYLL_ENV: production
This is the configuration of Github Pages, we haven't changed anything:
We used to push to master
so that the action would generate the site on gh-pages
but it stopped working. I know that the action is now on version 2.1.0 but I would expect my configuration to still be working.