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 259d9fa commit 168fa3e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- 'v*'

jobs:

build:
runs-on: ubuntu-latest
env:
Expand All @@ -15,14 +14,14 @@ jobs:
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
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"
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build Zip
run: "./build-zip.sh ${{github.ref_name}}"
run: "./build-zip.sh ${{github.ref_name}}"
- name: Upload zip
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 168fa3e

Please sign in to comment.