Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
Switch to main
  • Loading branch information
logankilpatrick authored Jan 19, 2021
1 parent d8973d0 commit 33bd967
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build and Deploy
on:
push:
branches:
- master # only trigger deployment upon pushes to master branch
- main # only trigger deployment upon pushes to main branch
pull_request:
branches:
- master
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
SSH: true
TARGET_FOLDER: "previews/PR${{ github.event.number }}"
- name: Deploy (main)
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SSH: true
Expand Down

0 comments on commit 33bd967

Please sign in to comment.