Skip to content

Commit

Permalink
Fix leftover config errors after renaming default rbanch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Sep 4, 2023
1 parent 12a6095 commit e056ee8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
tags:
- '**'
pull_request:
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
5 changes: 0 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit e056ee8

Please sign in to comment.