Skip to content

Commit be94137

Browse files
[TASK] Adjust GH workflow for write permission (#53)
1 parent e02a11a commit be94137

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/api-typo3-org.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
phpdoc/phpdoc:3 --target output/${{ matrix.core }} --setting template.typo3_version=${{ matrix.core }}
4040
4141
- name: SCP files to production system
42-
uses: appleboy/scp-action@master
42+
uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345
4343
with:
4444
host: ${{ secrets.DEPLOY_DOCS_API_HOST }}
4545
username: ${{ secrets.DEPLOY_DOCS_API_USERNAME }}

.github/workflows/main-deletion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
if: ${{ github.event.client_payload.type_short != '' && github.event.client_payload.name != '' && github.event.client_payload.vendor != '' && github.event.client_payload.target_branch_directory != '' }}
1111
steps:
1212
- name: "Deleting ${{ github.event.client_payload.vendor }}/${{ github.event.client_payload.name }}:${{ github.event.client_payload.target_branch_directory }}"
13-
uses: appleboy/ssh-action@master
13+
uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345
1414
with:
1515
host: ${{ secrets.DEPLOY_DOCS_HOST }}
1616
username: ${{ secrets.DEPLOY_DOCS_USERNAME }}
1717
key: ${{ secrets.DEPLOY_KEY }}
1818
script: rm -Rf ${{ secrets.TARGET_PATH }}/${{ github.event.client_payload.type_short }}/${{ github.event.client_payload.vendor }}/${{ github.event.client_payload.name }}/${{ github.event.client_payload.target_branch_directory }}
1919

2020
- name: Deleting search data
21-
uses: appleboy/ssh-action@master
21+
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2
2222
with:
2323
host: ${{ secrets.DEPLOY_DOCS_HOST }}
2424
username: ${{ secrets.DEPLOY_DOCS_USERNAME }}

.github/workflows/main-rendering.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
9292
9393
- name: Upload Documentation
94-
uses: appleboy/scp-action@master
94+
uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345
9595
with:
9696
host: ${{ secrets.DEPLOY_DOCS_HOST }}
9797
username: ${{ secrets.DEPLOY_DOCS_USERNAME }}
@@ -103,15 +103,15 @@ jobs:
103103
target: ${{ secrets.TARGET_PATH }}/${{ github.event.client_payload.type_short }}/${{ github.event.client_payload.vendor }}/${{ github.event.client_payload.name }}/${{ github.event.client_payload.target_branch_directory }}
104104

105105
- name: Update Extension list
106-
uses: appleboy/ssh-action@master
106+
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2
107107
with:
108108
host: ${{ secrets.DEPLOY_DOCS_HOST }}
109109
username: ${{ secrets.DEPLOY_DOCS_USERNAME }}
110110
key: ${{ secrets.DEPLOY_KEY }}
111111
script: curl https://intercept.typo3.com/assets/docs/extensions.js --output ${{ secrets.TARGET_PATH }}/Home/extensions.js
112112

113113
- name: Update search data
114-
uses: appleboy/ssh-action@master
114+
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2
115115
with:
116116
host: ${{ secrets.DEPLOY_DOCS_HOST }}
117117
username: ${{ secrets.DEPLOY_DOCS_USERNAME }}

.github/workflows/redirects.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
curl https://intercept.typo3.com/redirect/static --output nginx/redirects.conf
1616
1717
- name: SCP files to production system
18-
uses: appleboy/scp-action@master
18+
uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345
1919
with:
2020
host: ${{ secrets.DEPLOY_DOCS_HOST }}
2121
username: ${{ secrets.DEPLOY_DOCS_USERNAME }}
@@ -28,7 +28,7 @@ jobs:
2828

2929

3030
- name: Apply redirects
31-
uses: appleboy/ssh-action@master
31+
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2
3232
with:
3333
host: ${{ secrets.DEPLOY_DOCS_HOST }}
3434
username: ${{ secrets.DEPLOY_DOCS_USERNAME }}

0 commit comments

Comments
 (0)