Closed
Description
Describe the bug
This action seems to run in addition to the default "pages-build-deployment" GitHub action that gets automatically added when GitHub pages are activated, and that cannot be deleted or permanently disabled (it will enable itself again).
As can be seen in the following screenshots, after each push, the default action runs, but then gets interrupted "since a higher priority waiting request for 'master' exists":
This cancellation triggers an email notification that an action failed. Every time "github-pages-deploy-action" runs:
Reproduction Steps
- Add a workflow as described in the "Getting started" section
- Two actions will start to run:
- "pages-build-deployment" (the default GitHub pages action)
- "github-pages-deploy-action"
- "pages-build-deployment" will be cancelled
- github-pages-deploy-action" will finish
- "pages-build-deployment" will run again and finish
Logs
Tested with workflow:
name: Build and Deploy
on:
push:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: |
contains(github.event.head_commit.message, '[build]')
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install -U pip
pip install setuptools wheel
- name: Install StuffPages
run: |
python -m pip install StuffPages
- name: Build
run: |
stuffpages build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: master # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
target-folder: docs # The folder to deploy to.