Skip to content

Commit 2400c2a

Browse files
committed
Fix: GitHub Actions
Copy the files in the dist instead of entire directory
1 parent b246c21 commit 2400c2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
echo "Working on making the compiled binary available..."
5050
mkdir public
5151
cp -r ./undervolt-go ./public/ # Copy the binary to the public directory
52-
cp -r ./dist/script/ ./public/ # Copy the install scripts to the public directory
52+
cp -r ./dist/script/* ./public/ # Copy the install scripts to the public directory
5353
echo "Ready to deploy!"
5454
- name: Output the files structure into a JSON file
5555
run: |
@@ -59,7 +59,7 @@ jobs:
5959
echo "JSON Manifest generated with the directory structure!"
6060
- name: Make web pages available
6161
run: |
62-
cp -r ./dist/pages/ ./public/ # Copy the web pages to the public directory
62+
cp -r ./dist/pages/* ./public/ # Copy the web pages to the public directory
6363
- name: Upload artifact
6464
# upload artifact in the build stage, so that it is later on accessible in the deploy stage
6565
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)