We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506fcd5 commit 4d5257aCopy full SHA for 4d5257a
.github/workflows/deploy_main_preview.yml
@@ -15,6 +15,13 @@ jobs:
15
packages: write
16
17
steps:
18
+ - name: Get Actions user id
19
+ id: get_uid
20
+ run: |
21
+ actions_user_id=`id -u $USER`
22
+ echo $actions_user_id
23
+ echo "uid=$actions_user_id" >> $GITHUB_OUTPUT
24
+
25
- name: checkout
26
uses: actions/checkout@v2
27
with:
@@ -24,6 +31,11 @@ jobs:
31
run: |
32
./build_html.sh
33
34
+ - name: Reset ownership of workspace after build
35
+ uses: peter-murray/reset-workspace-ownership-action@v1
36
+ with:
37
+ user_id: ${{ steps.get_uid.outputs.uid }}
38
39
# Push the book's HTML to github-pages
28
40
- name: GitHub Pages action
29
41
uses: peaceiris/[email protected]
0 commit comments