Skip to content

Commit

Permalink
zip workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzapanther committed Sep 7, 2023
1 parent e3c6f1e commit 259d9fa
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ jobs:
permissions:
contents: write
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- uses: actions/checkout@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build Zip
run: "./build-zip.sh ${{github.ref_name}}"
- uses: ncipollo/release-action@v1
with:
artifacts: "*.zip"
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- uses: actions/checkout@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build Zip
run: "./build-zip.sh ${{github.ref_name}}"
- name: Upload zip
uses: ncipollo/release-action@v1
with:
artifacts: "*.zip"

0 comments on commit 259d9fa

Please sign in to comment.