mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	chore(server) add workflow dispatcher to sdk repository (#859)
This commit is contained in:
		
							parent
							
								
									9411770253
								
							
						
					
					
						commit
						e63d165b65
					
				
							
								
								
									
										21
									
								
								.github/workflows/dispatch_sdk_update.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/dispatch_sdk_update.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,21 @@
 | 
			
		||||
name: Update Immich SDK
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: ["main"]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  update-sdk-repos:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/github-script@v6
 | 
			
		||||
        with:
 | 
			
		||||
          github-token: ${{ secrets.GH_TOKEN }}
 | 
			
		||||
          script: |
 | 
			
		||||
            await github.rest.actions.createWorkflowDispatch({
 | 
			
		||||
              owner: 'immich-app',
 | 
			
		||||
              repo: 'immich-sdk-typescript-axios',
 | 
			
		||||
              workflow_id: 'build.yml',
 | 
			
		||||
              ref: 'main'
 | 
			
		||||
            })
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user