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