Atualizar .github/workflows/build.yml
All checks were successful
Build Eleventy / build (24.x) (push) Successful in 31s
All checks were successful
Build Eleventy / build (24.x) (push) Successful in 31s
This commit is contained in:
parent
d1d6f83235
commit
afa7081181
1 changed files with 10 additions and 5 deletions
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -37,8 +37,13 @@ jobs:
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy to forgejo-pages
|
||||||
uses: peaceiris/actions-gh-pages@v4
|
run: |
|
||||||
with:
|
git config user.email "ci@example.com"
|
||||||
publish_dir: ./docs
|
git config user.name "CI Bot"
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
git checkout --orphan forgejo-pages
|
||||||
|
git rm -rf .
|
||||||
|
cp -r docs/* .
|
||||||
|
git add .
|
||||||
|
git commit -m "Deploy: $(date)"
|
||||||
|
git push -f origin forgejo-pages
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue