Skip to content

Commit

Permalink
Fixes the branch matching
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Dementiev authored and ekini committed Sep 8, 2019
1 parent 2f85b84 commit 01eb012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

on: [push]
on:
push: {branches: ["*", "*/*"]}

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -20,7 +20,7 @@ jobs:
architecture: 'x64'
- run: mkdir -p dist/api/v1/ && python .github/api.py
- name: deploy
if: github.ref == 'master'
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v2.1.0
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
Expand Down

0 comments on commit 01eb012

Please sign in to comment.