Skip to content

Commit

Permalink
Bring back upload-assets CLI tool for release
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Feb 15, 2023
1 parent 959dfd6 commit 5313c6e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ jobs:
with:
name: css
path: css
- name: Save file name to env
run: echo "ASSET_URL_PATH=vanilla-framework-version-$(cat css/VANILLA_VERSION).min.css" >> $GITHUB_ENV
- name: Install upload-assets snap
run: sudo snap install upload-assets
- name: Upload to assets server
run: python scripts/upload-assets.py
env:
UPLOAD_ASSETS_API_TOKEN: ${{secrets.UPLOAD_ASSETS_API_TOKEN}}
ASSET_FILE_PATH: css/build.css
ASSET_URL_PATH: ${{env.ASSET_URL_PATH}}
run: upload-assets --url-path vanilla-framework-version-$(cat css/VANILLA_VERSION).min.css css/build.css

0 comments on commit 5313c6e

Please sign in to comment.