forked from MapComplete/MapComplete
		
	Chore(runner): remove obsolete files
This commit is contained in:
		
							parent
							
								
									53e9c9b22f
								
							
						
					
					
						commit
						30125d35ce
					
				
					 3 changed files with 0 additions and 221 deletions
				
			
		
							
								
								
									
										46
									
								
								.github/actions/setup-and-validate/action.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										46
									
								
								.github/actions/setup-and-validate/action.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,46 +0,0 @@ | ||||||
| name: "Theme Validation" |  | ||||||
| description: "Validate the themes" |  | ||||||
| runs: |  | ||||||
|   using: "composite" |  | ||||||
|   steps: |  | ||||||
|     - name: Set up Node.js |  | ||||||
|       uses: actions/setup-node@v3 |  | ||||||
|       with: |  | ||||||
|         node-version: "20" |  | ||||||
|         cache: "npm" |  | ||||||
|         cache-dependency-path: package-lock.json |  | ||||||
| 
 |  | ||||||
|     - name: print actor |  | ||||||
|       shell: bash |  | ||||||
|       run: echo ${{ github.actor }} |  | ||||||
| 
 |  | ||||||
|     - name: install deps |  | ||||||
|       run: npm ci |  | ||||||
|       shell: bash |  | ||||||
| 
 |  | ||||||
|     - name: REUSE compliance check |  | ||||||
|       uses: fsfe/reuse-action@952281636420dd0b691786c93e9d3af06032f138 |  | ||||||
|        |  | ||||||
|     - name: create generated dir |  | ||||||
|       run: mkdir ./assets/generated |  | ||||||
|       shell: bash |  | ||||||
|        |  | ||||||
|     - name: create dependencies |  | ||||||
|       run: npm run generate:licenses; npm run generate:images; npm run generate:charging-stations; npm run generate:service-worker |  | ||||||
|       shell: bash |  | ||||||
|        |  | ||||||
|     - name: sync translations |  | ||||||
|       run: npm run generate:translations |  | ||||||
|       shell: bash |  | ||||||
| 
 |  | ||||||
|     - name: generate layeroverview |  | ||||||
|       run: npm run reset:layeroverview |  | ||||||
|       shell: bash |  | ||||||
|        |  | ||||||
|     - name: run tests |  | ||||||
|       run: npm run test |  | ||||||
|       shell: bash |  | ||||||
| 
 |  | ||||||
|     - name: Prepare deploy |  | ||||||
|       run: npm run prepare-deploy |  | ||||||
|       shell: bash |  | ||||||
							
								
								
									
										77
									
								
								.github/workflows/deploy_dev.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										77
									
								
								.github/workflows/deploy_dev.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,77 +0,0 @@ | ||||||
| name: Deploy develop on dev.mapcomplete.org |  | ||||||
| on: |  | ||||||
|   push: |  | ||||||
|     branches: |  | ||||||
|       - develop |  | ||||||
| 
 |  | ||||||
| jobs: |  | ||||||
|   build: |  | ||||||
|     runs-on: ubuntu-latest |  | ||||||
|     steps: |  | ||||||
|       - uses: actions/checkout@v3 |  | ||||||
| 
 |  | ||||||
|       - name: Set up Node.js |  | ||||||
|         uses: actions/setup-node@v3 |  | ||||||
|         with: |  | ||||||
|           node-version: "20" |  | ||||||
|           cache: "npm" |  | ||||||
|           cache-dependency-path: package-lock.json |  | ||||||
| 
 |  | ||||||
|       - name: install deps |  | ||||||
|         run: npm ci |  | ||||||
|         shell: bash |  | ||||||
| 
 |  | ||||||
|       - name: create generated dir |  | ||||||
|         run: mkdir ./assets/generated |  | ||||||
|         shell: bash |  | ||||||
| 
 |  | ||||||
|       - name: create dependencies |  | ||||||
|         run: npm run generate:licenses; npm run generate:images; npm run generate:charging-stations; npm run generate:service-worker; npm run download:editor-layer-index |  | ||||||
|         shell: bash |  | ||||||
| 
 |  | ||||||
|       - name: sync translations |  | ||||||
|         run: npm run generate:translations |  | ||||||
|         shell: bash |  | ||||||
| 
 |  | ||||||
|       - name: Prepare deploy |  | ||||||
|         run: npm run prepare-deploy |  | ||||||
|         shell: bash |  | ||||||
| 
 |  | ||||||
|       - name: run tests |  | ||||||
|         run: npm run test |  | ||||||
|         shell: bash |  | ||||||
| 
 |  | ||||||
|       - name: Clone deployment repo |  | ||||||
|         env: |  | ||||||
|           DEPLOY_KEY_PIETERVDVN: ${{ secrets.DEPLOY_KEY_PIETERVDVN }} |  | ||||||
|         run: | |  | ||||||
|           echo "Cloning destination repo" |  | ||||||
|           git config --global user.email "pietervdvn@posteo.net" |  | ||||||
|           git config --global user.name "pietervdvn" |  | ||||||
|           git clone --depth 1 --single-branch --branch main "https://x-access-token:$DEPLOY_KEY_PIETERVDVN@github.com/MapComplete/mapcomplete-dev.git" |  | ||||||
|           echo "Destination repo is cloned" |  | ||||||
| 
 |  | ||||||
|       - name: Sync repo |  | ||||||
|         env: |  | ||||||
|           DEPLOY_KEY_PIETERVDVN: ${{ secrets.DEPLOY_KEY_PIETERVDVN }} |  | ||||||
|         run: | |  | ||||||
|           cd mapcomplete-dev |  | ||||||
|           git pull |  | ||||||
| 
 |  | ||||||
|       - name: "Copying files" |  | ||||||
|         run: | |  | ||||||
|           echo "Deploying" |  | ||||||
|           rm -rf mapcomplete-dev/* |  | ||||||
|           cp -r dist/* mapcomplete-dev/ |  | ||||||
|           cd mapcomplete-dev/ |  | ||||||
|           echo "dev.mapcomplete.org" > CNAME |  | ||||||
|           touch .nojekyll |  | ||||||
|           git add * |  | ||||||
|           if git status | grep -q "Changes to be committed" |  | ||||||
|           then |  | ||||||
|             git commit -am "Deploying a new version" |  | ||||||
|             git push |  | ||||||
|           else |  | ||||||
|             echo "No changes to commit" |  | ||||||
|           fi |  | ||||||
| 
 |  | ||||||
							
								
								
									
										98
									
								
								.github/workflows/deploy_pietervdvn.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										98
									
								
								.github/workflows/deploy_pietervdvn.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,98 +0,0 @@ | ||||||
| name: Deployment on pietervdvn |  | ||||||
| on: |  | ||||||
|   push: |  | ||||||
|     branches: |  | ||||||
|       - feature/* |  | ||||||
|       - theme/* |  | ||||||
|       - refactoring/* |  | ||||||
| jobs: |  | ||||||
|   build: |  | ||||||
|     runs-on: ubuntu-latest |  | ||||||
|     if: ${{ github.actor != 'weblate' }} |  | ||||||
|     steps: |  | ||||||
|       - uses: actions/checkout@v2 |  | ||||||
| 
 |  | ||||||
|       - name: print actor |  | ||||||
|         shell: bash |  | ||||||
|         run: echo ${{ github.actor }} |  | ||||||
| 
 |  | ||||||
|       - name: Set up Node.js |  | ||||||
|         uses: actions/setup-node@v3 |  | ||||||
|         with: |  | ||||||
|           node-version: "20" |  | ||||||
|           cache: "npm" |  | ||||||
|           cache-dependency-path: package-lock.json |  | ||||||
|    |  | ||||||
|       - name: install deps |  | ||||||
|         run: npm ci |  | ||||||
|         shell: bash |  | ||||||
| 
 |  | ||||||
|       - name: create generated dir |  | ||||||
|         run: mkdir ./assets/generated |  | ||||||
|         shell: bash |  | ||||||
|    |  | ||||||
|       - name: create dependencies |  | ||||||
|         run: npm run generate:licenses; npm run generate:images; npm run generate:charging-stations; npm run generate:service-worker; npm run download:editor-layer-index |  | ||||||
|         shell: bash |  | ||||||
|    |  | ||||||
|       - name: sync translations |  | ||||||
|         run: npm run generate:translations |  | ||||||
|         shell: bash |  | ||||||
|    |  | ||||||
|       - name: generate layeroverview |  | ||||||
|         run: npm run reset:layeroverview |  | ||||||
|         shell: bash |  | ||||||
|    |  | ||||||
|       - name: run tests |  | ||||||
|         run: npm run test |  | ||||||
|         shell: bash |  | ||||||
|    |  | ||||||
|       - name: Prepare deploy |  | ||||||
|         run: npm run prepare-deploy |  | ||||||
|         shell: bash |  | ||||||
|          |  | ||||||
|       - name: Clone deployment repo |  | ||||||
|         env: |  | ||||||
|           DEPLOY_KEY_PIETERVDVN: ${{ secrets.DEPLOY_KEY_PIETERVDVN }} |  | ||||||
|         run: | |  | ||||||
|           echo "Cloning destination repo" |  | ||||||
|           git config --global user.email "pietervdvn@posteo.net" |  | ||||||
|           git config --global user.name "pietervdvn" |  | ||||||
|           git clone --depth 1 --single-branch --branch master "https://x-access-token:$DEPLOY_KEY_PIETERVDVN@github.com/pietervdvn/pietervdvn.github.io.git" |  | ||||||
|           echo "Destination repo is cloned" |  | ||||||
| 
 |  | ||||||
|       - name: Sync repo |  | ||||||
|         env: |  | ||||||
|           DEPLOY_KEY_PIETERVDVN: ${{ secrets.DEPLOY_KEY_PIETERVDVN }} |  | ||||||
|         run: | |  | ||||||
|           cd pietervdvn.github.io |  | ||||||
|           git pull |  | ||||||
| 
 |  | ||||||
|       - name: get branch name |  | ||||||
|         run: echo TARGET_BRANCH=${GITHUB_REF:11} >> $GITHUB_ENV |  | ||||||
| 
 |  | ||||||
|       - name: "Copying files" |  | ||||||
|         run: | |  | ||||||
|           echo "Deploying" |  | ||||||
|           rm -rf pietervdvn.github.io/mc/${{ env.TARGET_BRANCH }}/* |  | ||||||
|           mkdir -p pietervdvn.github.io/mc/${{ env.TARGET_BRANCH }}/ |  | ||||||
|           cp -r dist/* pietervdvn.github.io/mc/${{ env.TARGET_BRANCH }}/ |  | ||||||
|           cd pietervdvn.github.io/ |  | ||||||
|           git add * |  | ||||||
|           if git status | grep -q "Changes to be committed" |  | ||||||
|           then |  | ||||||
|             git commit -am "Deploying a new version of mapcomplete" |  | ||||||
|             git push |  | ||||||
|           else |  | ||||||
|             echo "No changes to commit" |  | ||||||
|           fi |  | ||||||
|         env: |  | ||||||
|           TARGET_BRANCH: ${{ env.TARGET_BRANCH }} |  | ||||||
| 
 |  | ||||||
|       - uses: mshick/add-pr-comment@a96c578acba98b60f16c6866d5f20478dc4ef68b |  | ||||||
|         name: Comment the PR with the review URL |  | ||||||
|         if: ${{ success() && github.ref != 'refs/heads/develop' && github.ref != 'refs/heads/master' }} |  | ||||||
|         with: |  | ||||||
|           message: | |  | ||||||
|             [🚀 Preview Branch](https://pietervdvn.github.io/mc/${{ env.TARGET_BRANCH }}) |  | ||||||
|           repo-token: ${{ secrets.GITHUB_TOKEN }} |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue