@@ -1,26 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
version: 2
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    docker:
 | 
			
		||||
      - image: 'kmkfw/base'
 | 
			
		||||
 | 
			
		||||
    environment:
 | 
			
		||||
      KMK_TEST: 1
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - checkout
 | 
			
		||||
      - run: make test
 | 
			
		||||
      - run: make dist
 | 
			
		||||
      - run: make dist-deploy
 | 
			
		||||
 | 
			
		||||
workflows:
 | 
			
		||||
  version: 2
 | 
			
		||||
  build-deploy:
 | 
			
		||||
    jobs:
 | 
			
		||||
      - build:
 | 
			
		||||
          filters:
 | 
			
		||||
            branches:
 | 
			
		||||
              only: /.*/
 | 
			
		||||
            tags:
 | 
			
		||||
              only: /.*/
 | 
			
		||||
							
								
								
									
										26
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
name: Deploy
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [ master ]
 | 
			
		||||
  create:
 | 
			
		||||
    tags: [ '*' ]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    container: kmkfw/base
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - run: make test
 | 
			
		||||
      - run: make dist
 | 
			
		||||
        
 | 
			
		||||
      - run: make dist-deploy
 | 
			
		||||
        if: github.event_name == 'push'
 | 
			
		||||
        env:
 | 
			
		||||
          CIRCLE_BRANCH: ${{GITHUB_REF_NAME}}
 | 
			
		||||
      - run: make dist-deploy
 | 
			
		||||
        if: github.event_name == 'create'
 | 
			
		||||
        env:
 | 
			
		||||
          CIRCLE_TAG: ${{GITHUB_REF_NAME}}
 | 
			
		||||
							
								
								
									
										13
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
# This is a basic workflow to help you get started with Actions
 | 
			
		||||
 | 
			
		||||
name: Test
 | 
			
		||||
on: [push, pull_request]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  test:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    container: kmkfw/base
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - run: make test
 | 
			
		||||
		Reference in New Issue
	
	Block a user