Skip to content

fix: rm test.sh and just test in github action #6

fix: rm test.sh and just test in github action

fix: rm test.sh and just test in github action #6

Workflow file for this run

on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install mkdocs
run: pip install mkdocs-material
- uses: actions/checkout@v3
with:

Check failure on line 10 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
fetch-depth: 0
- name: Test
run: |
ORIGDIR=$PWD
cd ..
git clone https://github.com/NJUPT-SAST/sast-wiki.git
cd sast-wiki
git switch main
cp -r $ORIGDIR docs/
mkdocs build