From 18e3e5f24d26cc3d59cff49199497b9d97e3f7f8 Mon Sep 17 00:00:00 2001 From: "Tim J. Kicker" Date: Thu, 18 May 2023 12:07:12 +0200 Subject: [PATCH] try and error nr3 --- .github/workflows/pages.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 406dede..1b83cc2 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,18 +8,12 @@ on: jobs: pages: runs-on: ubuntu-latest - permissions: - contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 + - name: Use Node.js 12.x + uses: actions/setup-node@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - # If your repository depends on submodule, please see: https://github.com/actions/checkout - submodules: recursive - - name: Use Node.js 16.x - uses: actions/setup-node@v2 - with: - node-version: '16' + node-version: '12.x' - name: Cache NPM dependencies uses: actions/cache@v2 with: @@ -35,4 +29,5 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public \ No newline at end of file + publish_dir: ./public + publish_branch: master # deploying branch