change structure
This commit is contained in:
@@ -1,27 +0,0 @@
|
|||||||
name: Run script on commit
|
|
||||||
|
|
||||||
on:
|
|
||||||
push: {}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-bash:
|
|
||||||
runs-on: ubuntu-latest # use the runner label you have
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Make script executable
|
|
||||||
run: |
|
|
||||||
chmod +x ./scripts/test.sh
|
|
||||||
|
|
||||||
- name: Run script on current tree
|
|
||||||
run: |
|
|
||||||
./scripts/test.sh
|
|
||||||
|
|
||||||
- uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: presentation
|
|
||||||
path: presentation/index.html
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
apt update && apt install -y nodejs
|
|
||||||
|
|
||||||
cd presentation
|
|
||||||
npx @marp-team/marp-cli@latest presentation.md -o index.html
|
|
||||||
Reference in New Issue
Block a user