From 06fe1af477b29303bf55cc5f70859f7669e647ed Mon Sep 17 00:00:00 2001 From: NickRest Date: Sun, 23 Jul 2023 20:11:29 -0400 Subject: [PATCH] lets try this again --- .github/workflows/npm-gulp.yml | 2 +- .github/workflows/pages.yml | 40 ---------------------------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/npm-gulp.yml b/.github/workflows/npm-gulp.yml index 785a71f..97e314f 100644 --- a/.github/workflows/npm-gulp.yml +++ b/.github/workflows/npm-gulp.yml @@ -25,4 +25,4 @@ jobs: - name: Build run: | npm install - gulp + gulp deploy diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index 331f51e..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: GitHub Pages - -on: - push: - branches: - - main - pull_request: - -jobs: - deploy: - runs-on: ubuntu-22.04 - permissions: - contents: write - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - uses: actions/checkout@v3 - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: '14' - - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - run: npm ci - - run: npm run build - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/main' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public