-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #483 from thostetler/small-fix-to-github-action-2
Small update to get plugins to work properly on github actions
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|