@ethersphere/gateway-proxy v0.7.0 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish deb | |
on: | |
release: | |
types: [published] | |
jobs: | |
docker-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Build deb package | |
if: success() | |
run: | | |
npm ci | |
npm run build | |
npx node-deb -- dist/ public/ | |
- name: Upload deb package | |
if: success() | |
uses: alexellis/upload-assets@0.3.0 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
asset_paths: '["gateway-proxy_*deb"]' |