Compare commits
2 commits
51b0e1519a
...
e4f417a8ff
Author | SHA1 | Date | |
---|---|---|---|
e4f417a8ff | |||
de0c78b551 |
|
@ -11,13 +11,11 @@ jobs:
|
||||||
mv trunk /
|
mv trunk /
|
||||||
- run: rustup target add wasm32-unknown-unknown
|
- run: rustup target add wasm32-unknown-unknown
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- run: |
|
- run: /trunk build --release --public-url '.'
|
||||||
ls /trunk
|
|
||||||
/trunk build --release --public-url '.'
|
|
||||||
- run: |
|
- run: |
|
||||||
cd dist
|
cd dist
|
||||||
git init
|
git init
|
||||||
git remote add origin "${GITHUB_REPOSITORY}/{GITHUB_REPOSITORY_OWNER}"
|
git remote add origin "${GITHUB_REPOSITORY}/${GITHUB_REPOSITORY_OWNER}"
|
||||||
TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
|
TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
|
||||||
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push origin -d pages
|
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push origin -d pages
|
||||||
git checkout -b pages
|
git checkout -b pages
|
||||||
|
|
Loading…
Reference in a new issue