Skip to content

Commit 57dc4fd

Browse files
committed
actualizada version deploy-pages
1 parent e4a8142 commit 57dc4fd

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,17 @@ on:
88
repository_dispatch:
99
types: [run_build]
1010

11+
permissions:
12+
contents: write
13+
1114
jobs:
1215
deploy-docs:
1316
runs-on: ubuntu-latest
1417
container: asciidoctor/docker-asciidoctor
1518
steps:
1619
- uses: actions/checkout@v5
20+
with:
21+
fetch-depth: 0
1722

1823
- name: Install dependencies
1924
run: |
@@ -24,9 +29,10 @@ jobs:
2429
asciidoctor docs/index.adoc
2530
find . -name .adoc -exec rm -rf '{}' \;
2631
- name: Deploy 🚀
27-
uses: JamesIves/github-pages-deploy-action@v4.2.5
32+
uses: JamesIves/github-pages-deploy-action@v4.7.3
2833
if: contains(github.ref,'refs/heads/main')
2934
with:
3035
branch: gh-pages
3136
folder: docs
32-
clean: true
37+
clean: true
38+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)