Skip to content

Commit

Permalink
Replace master with main in action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-czech committed Dec 10, 2020
1 parent df1d7a8 commit 4f723fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/manubot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Manubot
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
manubot:
name: Manubot
Expand All @@ -30,7 +30,7 @@ jobs:
path: ci/cache
key: ci-cache-${{ github.ref }}
restore-keys: |
ci-cache-refs/heads/master
ci-cache-refs/heads/main
- name: Install Environment
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -53,7 +53,7 @@ jobs:
name: manuscript-${{ github.run_id }}-${{ env.TRIGGERING_SHA_7 }}
path: output
- name: Deploy Manuscript
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && !github.event.repository.fork
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && !github.event.repository.fork
env:
MANUBOT_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MANUBOT_SSH_PRIVATE_KEY: ${{ secrets.MANUBOT_SSH_PRIVATE_KEY }}
Expand Down

0 comments on commit 4f723fa

Please sign in to comment.