Bump scala-steward-org/scala-steward-action from 2.69.0 to 2.70.0 #651
Workflow file for this run
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
name: ci | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 18 * * 4' | |
jobs: | |
test: | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'foundweekends' }} | |
steps: | |
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6 | |
- run: rm -rf "$HOME/.sbt/ghpages" | |
- run: sbt -v test makeSite | |
- uses: webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # v0.9.0 | |
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} | |
with: | |
ssh-private-key: ${{ secrets.DEPLOY_KEY_1 }} | |
- name: Push to gh-pages | |
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} | |
run: | | |
git config --global user.email "74864734+foundweekends-bot[bot]@users.noreply.github.com" | |
git config --global user.name "foundweekends-bot[bot]" | |
# https://github.com/sbt/sbt-ghpages/commit/cbedd8edb8 | |
export SBT_GHPAGES_COMMIT_MESSAGE="auto commit on CI https://github.com/foundweekends/foundweekends-website/commit/${{ github.sha }}" | |
sbt -v ghpagesPushSite |