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 425aa91 commit d13fd80Copy full SHA for d13fd80
.github/workflows/deploy_main_preview.yml
@@ -22,6 +22,13 @@ jobs:
22
packages: write
23
24
steps:
25
+ - name: Get Actions user id
26
+ id: get_uid
27
+ run: |
28
+ actions_user_id=`id -u $USER`
29
+ echo $actions_user_id
30
+ echo "uid=$actions_user_id" >> $GITHUB_OUTPUT
31
+
32
- name: checkout
33
uses: actions/checkout@v2
34
with:
@@ -30,6 +37,11 @@ jobs:
37
- name: Build the book
38
run: |
39
./build_html.sh
40
41
+ - name: Reset ownership of workspace after build
42
+ uses: peter-murray/reset-workspace-ownership-action@v1
43
+ with:
44
+ user_id: ${{ steps.get_uid.outputs.uid }}
45
46
# Push the book's HTML to github-pages
35
47
- name: GitHub Pages action
0 commit comments