diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c12f5a..efdb1ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,18 +18,13 @@ jobs: steps: # Pull our repository - name: Checkout - uses: actions/checkout@v3 - # with: - # fetch-depth: 0 + uses: actions/checkout@v4 + with: + fetch-depth: 0 # for posts's lastmod # submodules: true # If using the 'assets' git submodule from Chirpy Starter, uncomment above # (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets) - - name: Debug - # confirmed that rsync is installed - run: | - echo "Debugging..." - - name: Setup Ruby uses: ruby/setup-ruby@v1 with: @@ -38,25 +33,14 @@ jobs: - name: Build site run: | - pwd - ls -lah bundle exec jekyll b - ls -lah - ls -lah _site env: JEKYLL_ENV: "production" - name: Test site run: | - ls -alh - ls -lah _site bundle exec htmlproofer _site --disable-external --check-html --ignore-urls http://www.mathmatique.com/articles/left-exercise-reader - - name: Upload site artifact - uses: actions/upload-pages-artifact@v1 - with: - path: "_site" - - name: Dry-run deployment to mattpopovich.com uses: easingthemes/ssh-deploy@v4.1.8 env: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c2de47..cab270b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,9 +25,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 - # with: - # fetch-depth: 0 + uses: actions/checkout@v4 + with: + fetch-depth: 0 # for posts's lastmod # submodules: true # If using the 'assets' git submodule from Chirpy Starter, uncomment above # (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets) @@ -43,19 +43,10 @@ jobs: - name: Build site run: | - pwd - ls -lah bundle exec jekyll b - ls -lah - ls -lah _site env: JEKYLL_ENV: "production" - # - name: Upload site artifact - # uses: actions/upload-pages-artifact@v1 - # with: - # path: "_site" - - name: Deploy to mattpopovich.com uses: easingthemes/ssh-deploy@v4.1.8 env: