Skip to content

Commit

Permalink
Merge pull request #483 from thostetler/small-fix-to-github-action-2
Browse files Browse the repository at this point in the history
Small update to get plugins to work properly on github actions
  • Loading branch information
thostetler authored Aug 22, 2024
2 parents 1515247 + 0550ab3 commit cc63841
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
# Checkout action v4 doesn't seem to be working with fetch-depth: 0, so we use v3, and a big fetch-depth
# See https://github.com/actions/checkout/issues/520, https://stackoverflow.com/a/6802238
# this is so that last-modified-at plugin can use the git history to determine the last modified date
fetch-depth: 0
fetch-depth: 2147483647

# Use GitHub Actions' cache to cache dependencies on servers
- uses: actions/cache@v4
Expand All @@ -24,6 +26,7 @@ jobs:
# Use GitHub Deploy Action to build and deploy to Github
- uses: jeffreytse/[email protected]
if: ${{ !env.ACT }}
with:
provider: 'github'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit cc63841

Please sign in to comment.