mirror of
				https://github.com/iib0011/omni-tools.git
				synced 2025-10-30 17:14:01 +01:00 
			
		
		
		
	ci: fix
This commit is contained in:
		
							
								
								
									
										33
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										33
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -28,3 +28,36 @@ jobs: | ||||
|  | ||||
|       - name: Build project | ||||
|         run: npm run build | ||||
|  | ||||
|   deploy: | ||||
|     if: github.ref == 'refs/heads/main' | ||||
|     needs: build-and-test | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout code | ||||
|         uses: actions/checkout@v3 | ||||
|  | ||||
|       - name: Set up Node.js | ||||
|         uses: actions/setup-node@v3 | ||||
|         with: | ||||
|           node-version: '18' | ||||
|  | ||||
|       - name: Install dependencies | ||||
|         run: npm install | ||||
|  | ||||
|       - name: Build project | ||||
|         run: npm run build | ||||
|  | ||||
|       - name: Deploy to Netlify | ||||
|         uses: nwtgck/actions-netlify@v1.2 | ||||
|         with: | ||||
|           publish-dir: ./dist | ||||
|           production-branch: main | ||||
|           deploy-message: ${{ github.event.head_commit.message }} | ||||
|           enable-pull-request-comment: true | ||||
|           enable-commit-comment: true | ||||
|           overwrites-pull-request-comment: true | ||||
|         env: | ||||
|           NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||||
|           NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||||
|         timeout-minutes: 20 | ||||
|   | ||||
							
								
								
									
										38
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										38
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,38 +0,0 @@ | ||||
| name: Deploy | ||||
|  | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|  | ||||
| jobs: | ||||
|   deploy: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout code | ||||
|         uses: actions/checkout@v3 | ||||
|  | ||||
|       - name: Set up Node.js | ||||
|         uses: actions/setup-node@v3 | ||||
|         with: | ||||
|           node-version: '18' | ||||
|  | ||||
|       - name: Install dependencies | ||||
|         run: npm install | ||||
|  | ||||
|       - name: Build project | ||||
|         run: npm run build | ||||
|  | ||||
|       - name: Deploy to Netlify | ||||
|         uses: nwtgck/actions-netlify@v1.2 | ||||
|         with: | ||||
|           publish-dir: ./dist | ||||
|           production-branch: main | ||||
|           deploy-message: ${{ github.event.head_commit.message }} | ||||
|           enable-pull-request-comment: true | ||||
|           enable-commit-comment: true | ||||
|           overwrites-pull-request-comment: true | ||||
|         env: | ||||
|           NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||||
|           NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||||
|         timeout-minutes: 10 | ||||
							
								
								
									
										20
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										20
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							| @@ -4,10 +4,8 @@ | ||||
|     <option name="autoReloadType" value="SELECTIVE" /> | ||||
|   </component> | ||||
|   <component name="ChangeListManager"> | ||||
|     <list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="chore: CODEOWNERS"> | ||||
|       <change afterPath="$PROJECT_DIR$/.github/workflows/deploy.yml" afterDir="false" /> | ||||
|     <list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="ci: fix"> | ||||
|       <change beforePath="$PROJECT_DIR$/.github/workflows/ci.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.github/workflows/ci.yml" afterDir="false" /> | ||||
|       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | ||||
|     </list> | ||||
|     <option name="SHOW_DIALOG" value="false" /> | ||||
|     <option name="HIGHLIGHT_CONFLICTS" value="true" /> | ||||
| @@ -160,7 +158,7 @@ | ||||
|       <workItem from="1719092003308" duration="14856000" /> | ||||
|       <workItem from="1719164664347" duration="2033000" /> | ||||
|       <workItem from="1719166718305" duration="1783000" /> | ||||
|       <workItem from="1719168519203" duration="6018000" /> | ||||
|       <workItem from="1719168519203" duration="6180000" /> | ||||
|     </task> | ||||
|     <task id="LOCAL-00001" summary="feat: use vite and ts"> | ||||
|       <option name="closed" value="true" /> | ||||
| @@ -482,7 +480,15 @@ | ||||
|       <option name="project" value="LOCAL" /> | ||||
|       <updated>1719184899883</updated> | ||||
|     </task> | ||||
|     <option name="localTasksCounter" value="41" /> | ||||
|     <task id="LOCAL-00041" summary="ci: fix"> | ||||
|       <option name="closed" value="true" /> | ||||
|       <created>1719185893875</created> | ||||
|       <option name="number" value="00041" /> | ||||
|       <option name="presentableId" value="LOCAL-00041" /> | ||||
|       <option name="project" value="LOCAL" /> | ||||
|       <updated>1719185893875</updated> | ||||
|     </task> | ||||
|     <option name="localTasksCounter" value="42" /> | ||||
|     <servers /> | ||||
|   </component> | ||||
|   <component name="TypeScriptGeneratedFilesManager"> | ||||
| @@ -503,7 +509,6 @@ | ||||
|     <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" /> | ||||
|     <option name="CHECK_NEW_TODO" value="false" /> | ||||
|     <option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" /> | ||||
|     <MESSAGE value="feat: text split" /> | ||||
|     <MESSAGE value="fix: text split try catch" /> | ||||
|     <MESSAGE value="ubf" /> | ||||
|     <MESSAGE value="ubf jn" /> | ||||
| @@ -528,7 +533,8 @@ | ||||
|     <MESSAGE value="fix: readme" /> | ||||
|     <MESSAGE value="fix: build" /> | ||||
|     <MESSAGE value="chore: CODEOWNERS" /> | ||||
|     <option name="LAST_COMMIT_MESSAGE" value="chore: CODEOWNERS" /> | ||||
|     <MESSAGE value="ci: fix" /> | ||||
|     <option name="LAST_COMMIT_MESSAGE" value="ci: fix" /> | ||||
|   </component> | ||||
|   <component name="XSLT-Support.FileAssociations.UIState"> | ||||
|     <expand /> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ibrahima G. Coulibaly
					Ibrahima G. Coulibaly