Skip to content

Commit

Permalink
Merge pull request #165 from darwinia-network/jay-update-action-rule
Browse files Browse the repository at this point in the history
Update action rule
  • Loading branch information
JayJay1024 authored Jun 18, 2021
2 parents 6175fe3 + b109962 commit c726cbd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI
on:
pull_request:
branches: [master]

jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build using Puppeteer
run: |
yarn install
yarn run build
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Production
on:
push:
branches: [master]
tags: ['*']

jobs:
build-and-deploy:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Staging
on:
push:
branches: [develop]
pull_request:
branches: [develop]
branches: [master]

jobs:
build-and-deploy:
Expand Down

0 comments on commit c726cbd

Please sign in to comment.