Skip to content

fix(gha): fix typo in release workflow #99

fix(gha): fix typo in release workflow

fix(gha): fix typo in release workflow #99

Workflow file for this run

name: Github Pages Deploy
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: "ci.yml"
repo: "falcosecurity/falco"
name: falco-\d+\.\d+\.\d+-\d+\+[a-f0-9]+-wasm.tar.gz
name_is_regexp: true
- name: Extract artifact
run: |
tar -xvf falco-*-wasm.tar.gz/falco-*-wasm.tar.gz
mv falco-*-wasm/usr/bin/falco.wasm ./public
mv falco-*-wasm/usr/bin/falco.js ./src/Hooks/
- name: Remove Unwanted Artifacts
run: rm -rf falco-*-wasm.tar.gz falco-*-wasm
- name: Test
uses: cypress-io/github-action@v5
with:
wait-on: http://localhost:5173
start: npx vite --host
- name: Install and build
run: npm install && npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist