Skip to content

Commit 70fca68

Browse files
author
Danielle Thomas
authored
Merge pull request #168 from ngrok/danielle/update-rust-docs
fix: Fix broken github pages deploy action
2 parents 0cbb66f + 4c79457 commit 70fca68

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,11 @@ jobs:
3030
chmod -c -R +r target/doc | while read line; do
3131
echo "::warning title=Changed permissions on a file::$line"
3232
done
33-
tar \
34-
--dereference --hard-dereference \
35-
--directory target/doc \
36-
-cvf "$RUNNER_TEMP/artifact.tar" \
37-
--exclude=.git \
38-
--exclude=.github \
39-
.
4033
4134
- name: Upload static files as artifact
42-
uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action
35+
uses: actions/upload-pages-artifact@v3
4336
with:
44-
path:${{ runner.temp }}/artifact.tar
37+
path: target/doc
4538

4639
# Deployment job
4740
deploy:
@@ -53,7 +46,7 @@ jobs:
5346
environment:
5447
name: github-pages
5548
url: ${{ steps.deployment.outputs.page_url }}
56-
49+
5750
runs-on: ubuntu-latest
5851
needs: build
5952
steps:

0 commit comments

Comments
 (0)