File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@v4
1313 with :
14- repository : eltos/accelerated-jacow
1514 path : accelerated-jacow
1615 - uses : actions/checkout@v4
1716 with :
1817 repository : eltos/typst-packages
1918 path : typst-packages
19+ token : ${{ secrets.ACTIONS_GITHUB_TOKEN }}
2020 - name : Extract version
2121 run : |
2222 VERSION=$(awk -F'= *' '/^version/{gsub(/"/,"",$2);print $2}' accelerated-jacow/typst.toml)
3434 git config user.email "[email protected] " 3535 git add packages/preview/accelerated-jacow/$VERSION/
3636 git commit -m "accelerated-jacow:$VERSION"
37+ - name : Push
38+ run : |
39+ # Setup SSH
40+ mkdir -p ~/.ssh
41+ echo "{{ secrets.ELTOS_TYPST_PACKAGES_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
42+ chmod 600 ~/.ssh/id_ed25519
43+ ssh-keyscan github.com >> ~/.ssh/known_hosts
44+ # Push
3745 git config push.autoSetupRemote true
38- git push
46+ git push --force
You can’t perform that action at this time.
0 commit comments