diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 197f18fe..aaa5a1b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,9 @@ jobs: with: node-version: ${{ secrets.NODE_VERSION }} - name: Build and deploy - run: ./.github/workflows/app.sh + run: | + chmod +x ./.github/workflows/app.sh + ./.github/workflows/app.sh doc: if: ${{ contains(github.event.head_commit.message, '[build doc]') }} runs-on: ubuntu-latest @@ -25,7 +27,9 @@ jobs: with: node-version: ${{ secrets.NODE_VERSION }} - name: Build doc - run: ./.github/workflows/doc.sh + run: | + chmod +x ./.github/workflows/doc.sh + ./.github/workflows/doc.sh - name: Deploy doc to GitHub Pages uses: JamesIves/github-pages-deploy-action@3.7.1 with: