diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/dependabot.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/build.yml | 12 | ||||
| -rw-r--r-- | .github/workflows/pull_requests.yml | 4 |
3 files changed, 12 insertions, 9 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 64e8a62..73cdd92 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,3 +10,8 @@ updates: schedule: day: "saturday" interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + day: "saturday" + interval: "weekly"
\ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 295ed07..56f4d5a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,9 +30,9 @@ jobs: uses: mingjun97/file-regex-replace@v1 if: steps.filter.outputs.source == 'true' with: - regex: 'version: "[0-9]*",' - replacement: 'version: "${{ steps.date.outputs.DATE_VERSION }}",' - include: 'gatsby-config\.ts' + regex: '"version": "[0-9]*",' + replacement: '"version": "${{ steps.date.outputs.DATE_VERSION }}",' + include: 'config\.json' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -42,10 +42,8 @@ jobs: - name: Install Node.js packages run: npm ci - - name: Clean Gatsby cache - run: npm run clean - - name: Run Gatsby Build - run: npm run build --if-present + - name: Run Eleventy Build + run: npm run build - name: Run post-build run: npm run post-build - name: Commit public changes diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 04cb713..90ed845 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check changes (prevent pushing to public/) - uses: xalvarez/prevent-file-change-action@v1.3.1 + uses: xalvarez/prevent-file-change-action@v1.5.1 with: githubToken: ${{ secrets.GITHUB_TOKEN }} pattern: public/ @@ -28,4 +28,4 @@ jobs: - name: Install Node.js packages run: npm ci - name: Run linter - run: npm run lint + run: npm run lint
\ No newline at end of file |
