This commit is contained in:
		
							parent
							
								
									c10606e80e
								
							
						
					
					
						commit
						4d646a7eea
					
				
					 2 changed files with 8 additions and 6 deletions
				
			
		| 
						 | 
					@ -5,11 +5,6 @@ jobs:
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      image: rust:slim-bookworm
 | 
					      image: rust:slim-bookworm
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - run: |
 | 
					 | 
				
			||||||
          echo "git remote add origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
 | 
					 | 
				
			||||||
          TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
 | 
					 | 
				
			||||||
          echo "git -c http.extraHeader=Authorization: Basic ${TOKEN} push origin -d pages"
 | 
					 | 
				
			||||||
          echo "git -c http.extraHeader=Authorization: Basic ${TOKEN} push -u origin pages"
 | 
					 | 
				
			||||||
      - run: apt-get update -y && apt-get install -y nodejs git curl
 | 
					      - run: apt-get update -y && apt-get install -y nodejs git curl
 | 
				
			||||||
      - run: |
 | 
					      - run: |
 | 
				
			||||||
          curl -L https://github.com/trunk-rs/trunk/releases/download/v0.19.1/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
 | 
					          curl -L https://github.com/trunk-rs/trunk/releases/download/v0.19.1/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
 | 
				
			||||||
| 
						 | 
					@ -28,5 +23,4 @@ jobs:
 | 
				
			||||||
          git checkout -b pages
 | 
					          git checkout -b pages
 | 
				
			||||||
          git add *
 | 
					          git add *
 | 
				
			||||||
          git commit -m "gen pages"
 | 
					          git commit -m "gen pages"
 | 
				
			||||||
          git log
 | 
					 | 
				
			||||||
          git -c http.extraHeader="Authorization: Basic ${TOKEN}" push -u origin pages
 | 
					          git -c http.extraHeader="Authorization: Basic ${TOKEN}" push -u origin pages
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,13 @@
 | 
				
			||||||
 | 
					# Test Pages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Test with page generation. Juste a small yew app.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The generated pages are available here: <https://histausse.page.mineau.eu/tst_pages/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Gen pages:
 | 
					# Gen pages:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CF <https://git.mineau.eu/histausse/tst_pages/src/branch/main/.forgejo/workflows>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
git clone <repo>
 | 
					git clone <repo>
 | 
				
			||||||
trunk build --release --public-url '.'
 | 
					trunk build --release --public-url '.'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue