Skip to content

Commit dd30875

Browse files
GreatEugeniusxintongsong
authored andcommitted
[ci] Use local rsync-deployments action in docs workflow
Switch the two upload steps in .github/workflows/docs.yml from burnett01/rsync-deployments to the locally-defined action added in the previous commit. This fixes the nightly docs build, which currently fails because the third-party action is not in the ASF allowed-actions list. This commit only touches main's workflow file. The cron trigger always reads the workflow definition from the default branch, so release branches do not need this change for the scheduled build to work -- they only need the local action committed alongside.
1 parent 7082065 commit dd30875

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
docker run --rm --volume "$PWD:/root/flink-agents" chesnay/flink-ci:java_8_11_17_21_maven_386 bash -c "cd /root/flink-agents && chmod +x ./tools/docs.sh && ./tools/docs.sh"
5757
5858
- name: Upload documentation
59-
uses: burnett01/rsync-deployments@7659d600d8bdd035bb5cdfba1d4bd0dd4a307ca6 # 8.0.2
59+
uses: ./.github/actions/rsync-deployments
6060
with:
6161
switches: --archive --compress --delete
6262
path: docs/target/
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: Upload documentation alias
7070
if: env.flink_alias != ''
71-
uses: burnett01/rsync-deployments@7659d600d8bdd035bb5cdfba1d4bd0dd4a307ca6 # 8.0.2
71+
uses: ./.github/actions/rsync-deployments
7272
with:
7373
switches: --archive --compress --delete
7474
path: docs/target/

0 commit comments

Comments
 (0)