From e056ee8bf3104d138b5044ed5c4c3a03911166f8 Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Mon, 4 Sep 2023 12:45:53 +0200 Subject: [PATCH] Fix leftover config errors after renaming default rbanch to main --- .github/workflows/ci.yml | 6 +++--- .github/workflows/deploy.yml | 2 +- docs/index.rst | 5 ----- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fce77f729..32afdef08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: - - master + - main tags: - '**' pull_request: @@ -88,8 +88,8 @@ jobs: run: cd docs && make html SPHINXOPTS="-W --keep-going -n --color -j auto" - name: Deploy to gihub pages - # only run on push to master - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + # only run on push to main + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0870a8053..374e22d12 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,7 @@ jobs: python setup.py sdist bdist_wheel - name: Publish package - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }} diff --git a/docs/index.rst b/docs/index.rst index 6ecafcb8d..00d92469a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,8 +1,3 @@ -.. pyirf documentation master file, created by - sphinx-quickstart on Sat Apr 25 16:39:28 2020. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - .. meta:: :github_url: https://github.com/cta-observatory/pyirf