28 lines
564 B
YAML
28 lines
564 B
YAML
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
|
|
|