This commit is contained in:
parent
c10606e80e
commit
4d646a7eea
2 changed files with 8 additions and 6 deletions
|
@ -5,11 +5,6 @@ jobs:
|
|||
container:
|
||||
image: rust:slim-bookworm
|
||||
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: |
|
||||
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 add *
|
||||
git commit -m "gen pages"
|
||||
git log
|
||||
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push -u origin pages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue