Skip to content

Commit fa79cae

Browse files
authored
Merge pull request #23 from ungdev/dev
fix: working deploy?
2 parents 057c1a0 + 2fbb255 commit fa79cae

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ jobs:
1212
- name: Checkout repo
1313
uses: actions/checkout@v4
1414
- name: Create zip
15-
run: |
16-
make archive && \
17-
cd build/
15+
run: make archive
1816
- name: Upload artifact
1917
uses: actions/upload-artifact@v4
2018
with:
2119
name: deploy
22-
path: .
20+
path: build/
2321
- name: Create draft release
2422
env:
2523
GH_TOKEN: ${{ github.token }}
@@ -30,4 +28,4 @@ jobs:
3028
for TAG in $(gh release list --exclude-drafts --limit 100 | awk '{print $1}'); do \
3129
case "$TAG" in v"$YEAR_MONTH".*) COUNT=$((COUNT + 1));; esac; \
3230
done; RELEASE_NUMBER=$((COUNT + 1)); \
33-
gh release create --draft --generate-notes "v$YEAR_MONTH.$RELEASE_NUMBER" ../deploy.zip
31+
gh release create --draft --generate-notes "v$YEAR_MONTH.$RELEASE_NUMBER" deploy.zip

0 commit comments

Comments
 (0)