Update #59
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: Update | |
on: | |
workflow_dispatch: {} | |
schedule: | |
# 30 min after deno-bin | |
- cron: '30 12 * * SAT' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# to trigger release workflow | |
ssh-key: ${{ secrets.SSH_DEPLOY_KEY }} | |
- name: git config | |
run: | | |
git config user.name 'GitHub Actions' | |
git config user.email '41898282+github-actions[bot]@users.noreply.github.com' | |
git config user.signingKey "$SSH_KEY" | |
git config gpg.format ssh | |
git config core.hooksPath scripts/hooks/ | |
env: | |
SSH_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | |
- run: scripts/update.sh | |
env: | |
npm_config_sign_git_commit: true | |
npm_config_sign_git_tag: true | |
- run: git push --follow-tags |