Skip to content

Commit 4cb66f8

Browse files
committed
Merge branch 'dev'
2 parents 05bf9f0 + 7f09411 commit 4cb66f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040

4141

4242
- name: Build into gh-pages repo
43-
run: PATH="$PATH:/usr/lib/dart/bin" pub global run webdev build -o web:/tmp/scadnano ; cp -r /tmp/scadnano/* gh-pages-repo
43+
run: PATH="$PATH:/usr/lib/dart/bin" dart pub global run webdev build -o web:/tmp/scadnano ; cp -r /tmp/scadnano/* gh-pages-repo
4444
- name: Retrieve version
4545
run: echo "VERSION=$(cat lib/src/constants.dart | grep 'const String CURRENT_VERSION = .*' | grep -oP '\d+\.\d+\.\d+')" >> $GITHUB_ENV
4646
- name: Build into gh-pages-repo/VERSION
4747
run: |
4848
if [ "$VERSION" != "" ]; then
49-
PATH="$PATH:/usr/lib/dart/bin" pub global run webdev build -o web:gh-pages-repo/v$VERSION
49+
PATH="$PATH:/usr/lib/dart/bin" dart pub global run webdev build -o web:gh-pages-repo/v$VERSION
5050
else
5151
echo "::warning deploying VERSION skipped because VERSION number could not be found"
5252
fi

0 commit comments

Comments
 (0)